Open praveen-francium opened 3 years ago
The same issue.
I am experiencing the same issue.
I'm also having this issue...
I have the same issue. Confirmed I can use it on ios13, but not on ios14.
Also, here is my flutter doctor -v
[✓] Flutter (Channel unknown, 1.20.4, on Mac OS X 10.15.6 19G2021, locale ja-JP)
• Flutter version 1.20.4 at /usr/local/bin/flutter
• Framework revision fba99f6cf9 (2 weeks ago), 2020-09-14 15:32:52 -0700
• Engine revision d1bc06f032
• Dart version 2.9.2
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/shunmanabe/Library/Android/sdk
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.0, Build version 12A7209
• CocoaPods version 1.9.3
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 42.1.1
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] VS Code (version 1.49.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.14.1
[✓] Connected device (1 available)
• iPhone 11 (mobile) • 1A29208A-E187-4324-870B-2353853C8A9E • ios •
com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)
• No issues found!
Just took a look at this package’s codes, then noticed this package is corresponding with only ios13. See flutter_apple_sign_in/ios/Classes/AppleSignInPlugin.m
if (@available(iOS 13.0, *)) {
if ([call.method isEqualToString:@"isAvailable"]) {
result(@{@"isAvailable": @(true)});
return;
}
else if ([call.method isEqualToString:@"performRequests"]) {
[self performRequests:call result:result];
return;
} else if ([call.method isEqualToString:@"getCredentialState"]) {
[self getCredentialState:call result:result];
return;
}
} else {
if ([call.method isEqualToString:@"isAvailable"]) {
result(@{@"isAvailable": @(false)});
return;
}
}
I’m not familiar with Objective-C. Does anyone can fix it to be avaialbe in ios14?
So far, the IOS14 simulator is not running Apple sign-in. To see how Apple Sign In works, you need to use a real machine or an ios13 simulator. ...
see this thread on Apple's forums. https://developer.apple.com/forums/thread/651533.
Downgrade the ios simulator:
First install xcode-install gem: gem install xcode-install When check what iOS simulators are available: xcversion simulators Install desired simulator i.e: xcversion simulators --install='iOS 13.5'
Use the ios 13.5 version to test and develop the apple sign in.
Than set the iOS Deployment Target to 13.5
Test your application with the apple sign in, upload, submit for review. And thats it, there will be no problem with the review.
So this is not a flutter or package issue.
So this is not a flutter or package issue. Yes. the package works. I run into the same problem on a real device too. I had upgraded firebase_auth to the latest release and it works like a charm ))
I'm having the same issue on the following device
Review device details:
on the rest of the versions It working fine. Anyone help me to solve this issue?
Plugin used: apple_sign_in: ^0.1.0