Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashes while selecting +61 Country code #12

Open
nihal-dukka opened this issue Dec 5, 2022 · 0 comments
Open

App crashes while selecting +61 Country code #12

nihal-dukka opened this issue Dec 5, 2022 · 0 comments

Comments

@nihal-dukka
Copy link

The app crashes on selecting +61 country code in iOS, Attaching the logs for reference.

`warning: libphonenumber_plugin was compiled with optimization - stepping may behave oddly; variables may not be available.

  • thread FlutterSimCountryCode.simCountryCode : "Reply already submitted" on Android #1, queue = 'com.apple.main-thread', stop reason = Swift runtime failure: Unexpectedly found nil while implicitly unwrapping an Optional value
    frame FlutterSimCountryCode.simCountryCode : "Reply already submitted" on Android #1: 0x0000000104325d50 libphonenumber_pluginspecialized SwiftLibphonenumberPlugin.getRegionInfo(call=<unavailable>) at SwiftLibphonenumberPlugin.swift:93:50 [opt] 90 do { 91 let p : NBPhoneNumber = try phoneUtils.parse(phoneNumber, defaultRegion: isoCode.uppercased()) 92 -> 93 let regionCode : String = phoneUtils.getRegionCode(for: p) ^ 94 let countryCode : String = p.countryCode.stringValue as String 95 let formattedNumber : String = try phoneUtils.format(p, numberFormat: NBEPhoneNumberFormat.NATIONAL) 96 Target 0: (Runner) stopped.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant