We are trying to request a connection from flutter app to another application. This requires receiving a response from the third party application. but our flutter app keeps relaunching just before receiving the response. However, it works as expected on some devices while on other devices the issue persist.
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.3, on macOS 14.1 23B74 darwin-x64, locale en-NG)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] VS Code (version 1.94.0)
[✓] Connected device (3 available)
! Error: Browsing on the local area network for iPhone. Ensure the device is unlocked and attached with a cable or associated with the
same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources
Issue:
We are trying to request a connection from flutter app to another application. This requires receiving a response from the third party application. but our flutter app keeps relaunching just before receiving the response. However, it works as expected on some devices while on other devices the issue persist.
Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.24.3, on macOS 14.1 23B74 darwin-x64, locale en-NG) [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2) [✓] Xcode - develop for iOS and macOS (Xcode 15.0.1) [✓] Chrome - develop for the web [✓] Android Studio (version 2023.1) [✓] VS Code (version 1.94.0) [✓] Connected device (3 available) ! Error: Browsing on the local area network for iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac. The device must be opted into Developer Mode to connect wirelessly. (code -27) [✓] Network resources
Working on and Android device https://github.com/user-attachments/assets/2319cadd-41ae-4f31-971d-ba06c7f0571d
In this case , when the auth is completed, it's relaunching the app rather than to continue from where it was before auth https://github.com/user-attachments/assets/9d219ec6-f416-49e7-99ae-b23956b49b23