Questions tagged [flutter-ios]

356 questions
2
votes
1 answer

Flutter iOS physical device error: Command PhaseScriptExecution failed with a nonzero exit code

I have created a new flutter project on Android studio. When I try to run it on emulator it works fine, but when I run it on my iphone it gives this error: Command PhaseScriptExecution failed with a nonzero exit code When I check the "For install…
nonabhai
  • 110
  • 1
  • 8
2
votes
1 answer

Flutter url_launcher with multiple phone numbers

I am developing an app on Flutter for both Android and iOS platform. I have two contact numbers. I would like that the user, when clicking on one of them, gets to choose which to call. For example, in iOS it should open the action sheet with both…
albero123
  • 77
  • 1
  • 7
2
votes
0 answers

Flutter debug runs on one iOS 14 device, but won't run on another iOS 14 device

I have two iOS devices, iPhone 8 and iPhone 12 mini, both runs iOS 14.4. Flutter debug works normally on iPhone 8, but it won't launch app on iPhone 12 mini. It will hang on launch screen and then just exit. Running "flutter pub get" in…
mileusna
  • 624
  • 6
  • 11
2
votes
1 answer

simple_auth_flutter on ios AppDelegate.swift import change fails to start

I would like to use simple_auth_flutter into my FLutter app to authenticate user against instagram. So I followed the documentation page and applied all changes. I try to add the mentioned lines into my AppDelegate.swift as below: import…
Momo
  • 345
  • 1
  • 5
  • 16
2
votes
0 answers

White Screen with Flutter: Rejected by Apple's App Review

I am receiving this message with a rejection when I submit my app for review on the App Store: "Specifically, your app displayed a white, blank screen when we launched your app." When I test the app on device, everything appears to be working fine.…
Mark
  • 21
  • 2
2
votes
0 answers

podfile error when running flutter application

This is the error when I try to run ios app. [!] CocoaPods could not find compatible versions for pod "FBSDKLoginKit": In Podfile: flutter_facebook_auth (from `.symlinks/plugins/flutter_facebook_auth/ios`) was resolved to 0.3.1, which…
2
votes
1 answer

Clone a private flutter project repository from Github to Xcode in MacOS

I have a flutter application written in Android Studio in Windows and I am able to run and test it on an Android phone. The project has git as source control and all the changes are committed to a private repository on Github. How do I clone this…
Tarique
  • 463
  • 3
  • 16
2
votes
1 answer

Flutter: Is there any way of using a widget only on ios but not on android?

So I have been trying to add some padding only on ios but not on andoid. Is there any way to check if I am in android or ios so I can implement this feature in my app. Thanks in Advance.
Pranta
  • 2,928
  • 7
  • 24
  • 37
2
votes
0 answers

Ios build release build issue flutter App

Flutter app when installing the iOS app in simulator from Xcode it works good, it is not working in the build which I distributed the iOS app using ADHOC mode it is not working properly and the ui for some screens is not loaded properly, Is there…
Praveen
  • 31
  • 3
2
votes
1 answer

Provider rebuilds the widget, but nothing shows up until a "Hot restart"

I am building a flutter app and I get some data from a future, I also got the same data with a changenotifier. Well the logic is that while some object doesn't have data because its waiting on the future then display a spinning circle. I have…
2
votes
2 answers

Flutter NSException: Configuration fails. It may be caused by an invalid GOOGLE_APP_ID in GoogleService-Info.plist or set in the customized options

GoogleService-Info.plist file is added via Add Files to "Runner" option. So, it is in the Runner directory. I had already checked lots of stack overflow answer but unable to figure out the issue. I also recheck GOOGLE_APP_ID in…
jazzbpn
  • 6,441
  • 16
  • 63
  • 99
2
votes
2 answers

How come flutter build ios --obfuscate --split-debug-info= failed with warnings, but flutter build ios works?

Please know that flutter build ios works perfectly without any warning or error. But when I do flutter build ios --obfuscate --split-debug-info=/_app/obfuscate it failed with this error : Building com.x.app for device (ios-release)... Automatically…
Zenko
  • 2,319
  • 2
  • 20
  • 46
2
votes
2 answers

iOS flutter app don't ask for permissions and returns permission status unknown

I am using a permission_handler 4.4.0(latest update) plugin to handle permissions on mobile devices which works perfectly on android devices but when i am trying to ask for permissions on iOS it doesn't show permission pop on device and returns the…
1
vote
3 answers

How to detect if iOS or Android device has HomeBar at the bottom of device in flutter

Device with HomeBar need some spacing on the bottom of the page. So, we need to check if device has homebar so that we can give the padding accordingly. How to know if device has HomeBar in flutter?
jazzbpn
  • 6,441
  • 16
  • 63
  • 99
1
vote
2 answers

Flutter IOS Universal Link Opens App, But Does Not Navigate To Correct Page

I have set up Universal Links on my flutter project for IOS. Like the title suggests, my app does open when I click on a link relating to my site but it does not navigate to the correct page. It just opens the app. I'm not using the uni_links…