Flutter: Lost connection to device in iOS Simulator Firebase - ios

Following the steps of a tutorial (git/flash_chat_app), I got stuck when I write the code to get the connection with Firebase. The app runs very well (simple app). The problem is on the "Login" & "Register" buttons. After writing the email and password, when I press the button to submit the app crushes and I've got a simple "Lost connection to device" message. However, on Firebase the email is registered. So there is the connection but the app just crushes every time... I've read the posts about this subject but nothing similar to this issue.
I hope you can help, thank you

Ok found it...the whole day.
If anybody else faces this issue, I solved it just downgrading flutter (I had the last version 1.27xxxxx till this day). So on 1.26 I have no issue for the moment.

Related

Airwatch SDK iOS - We were unable to retrieve the configuration information

Using the Airwatch SDK v21.4 on iOS an error is shown:
"We were unable to retrieve the configuration information. Press
continue to try again"
Using Airwatch SDK 20.9 worked fine, but after upgrading to version (21.0 thru 21.4) on iOS the SDK is displaying the error.
The message text can be found in an AWSDK.framework file Localizable.strings within the entry RetryToFetchConfigurationInformation
I can do a fresh install from the HUB app just fine.
After launching the app the UI is not displayed until a successful response from controllerDidFinishInitialCheck.
My controllerDidFinishInitialCheck method does not contain any errors.
After receiving a valid controllerDidFinishInitialCheck result the UI is displayed, followed by a popup alert message with the error.
Advice / Suggestions / How can I isolate this issue? It may be a timeout issue?

App freezes on textfield after iOS 14 update

after updating Xcode to Xcode 12 and upgrading my physical test device to iOS 14, I am having a peculiar problem with my app. I have two textfields for username and password, and if I fill out the username, and click on the textfield for password, the keyboard pops up but the apps CPU usage increases drastically to 99% and the app freezes. This has never happened before, and I haven’t made any changes that should cause this. I tested the same build on an iOS 12.4 and iOS 13.7 device, and they did not have the same issue. This seems to be happening only on iOS 14 devices. Another peculiar thing that happens is that if I fill out the password and then the username, the issue does not occur. I haven’t made any changes to textfields , the only thing that I am getting different from this build is that “archiveRootObject” has been deprecated. Could that maybe cause the issue here?
After debugging for a while I also found this weird message on Thread 1 “Application violated contract by causing UIApplicationMain() to return. This incident will be reported.” Has anybody faced this issue before?
EDIT: If I write a value in the username textfield, and then remove it, and then try to enter in password, the app works fine. Its only if the username textfield has a value before the password textfield has a value.
After many failed attempts at fixing the problem, and waiting for weeks until Apple answered my questions, the problem has finally been solved. It was actually just updating the "MaterialComponents" pod to version "119.1.0" that solved the issue. It took some time to update as we had problems with the pod but we eventually got it working. Thanks everyone for your help!
try this and restart your system
"Simulator -> Edit -> Automatically Sync Pasteboard" canel selected.
"Hardware -> Restart"
Device -> Restart

I am facing an issue with phone auth. The phone auth is working fine in development, but throwing an error when in test flight build

When I am clicking for generating OTP with signinwithphonenumber() method. Firebase returns "Error: An internal error has occurred." this error in some iOS devices. While in development it is working fine. But test flight build returns this error in some devices and working fine with other device. I have done coding in react-native.Can anyone please help me resolving this issue? It would be a great help.
Thank you.

Chromecast ios api.. Entity not found

Anyone encountered this already?. I downloaded the sample code for IOS from github. I replaced the app id with my own, that i got after whitelisting my device. I ran the app and selected the device and media to cast. Soon after I hit the cast button, I am getting the following error....
Failed to start application (com.google.GCKFramework.GCKApplicationSessionError); caused by: entity not found (com.google.GCKFramework.GCKNetworkRequestError).
Found solution for this one. Once I enabled the Chromecast to send it's serial number to Google, the error went away (for future reference). It can be done in settings.
Source: https://github.com/googlecast/cast-ios-demo-player/issues/5

GCDAsyncUdpSocket cannot bind port on iOS simulator

I'm working on sending message through UDP. However, I've been trapped in the problem about 'binding port'.
When I built the project on iOS simulator first time, nothing strange happened. Everything was fine.
But when I built the project second time. I got an error message from terminal when the app tried to bind port.
The message goes like this "Error Domain=NSPOSIXErrorDomain Code=48 "Address already in use" UserInfo=0x767c830 {NSLocalizedFailureReason=Error in bind() function, NSLocalizedDescription=Address already in use}"
What's confuses me is that the error didn't appear when I run my app on iPad.
I guess that maybe it is for the reason that I didn't close the socket. But why it goes correctly on iPad?
Hope someone could solve this. Thx!
Current head of GDAAsyncUdpSocket does not (also) set SO_REUSEPORT (it just does ADDRESS, which is quite enough for TCP).
I just popped in a quick fix:
https://github.com/dirkx/CocoaAsyncSocket/commit/5ec8c83d59ecb754824f706198eb62e29961c1be
https://github.com/dirkx/CocoaAsyncSocket
and it should get fixed upstream too:
https://github.com/robbiehanson/CocoaAsyncSocket/pull/159
Thanks,
Dw.

Resources