When calling the login method and getting the access token from the response I am receiving different outputs for the expirationDate, on a ios simulator (ios 15.5 iPhone 13 mini) I receive the value 4000-12-31 20:00:00.000 and on the android emulator (Pixel 2 API 33) I receive 275760-09-12 20:00:00.000.
Expected Behavior
Same expiration dates for ios and android.
To Reproduce
call the login method from the FacebookAuth package
print the access token on an android device
print the access token on an ios device
Relevant log output
No response
flutter doctor -v
[✓] Flutter (Channel stable, 3.0.3, on macOS 12.5 21G72 darwin-arm, locale en-BR)
• Flutter version 3.0.3 at /Users/rafaelpontesbrasil/fvm/versions/3.0.3
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 676cefaaff (3 months ago), 2022-06-22 11:34:49 -0700
• Engine revision ffe7b86a1e
• Dart version 2.17.5
• DevTools version 2.12.2
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
• Android SDK at /Users/rafaelpontesbrasil/Library/Android/sdk
• Platform android-33, build-tools 33.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
[✓] IntelliJ IDEA Community Edition (version 2022.2.1)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 69.0.5
• Dart plugin version 222.3739.24
[✓] Connected device (2 available)
• macOS (desktop) • macos • darwin-arm64 • macOS 12.5 21G72 darwin-arm
• Chrome (web) • chrome • web-javascript • Google Chrome 105.0.5195.102
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
@Daimioo the expires date is defined by facebook sdk, we have different sdks for ios, android and web so that dates maybe different depending of the platform
What version are you using?
4.3.4+2
What OS and version are you using to local deploy your application?
macOs 12.2
What platforms are you seeing the problem on?
Android
pubspec.yaml
Describe the Bug
When calling the login method and getting the access token from the response I am receiving different outputs for the expirationDate, on a ios simulator (ios 15.5 iPhone 13 mini) I receive the value
4000-12-31 20:00:00.000
and on the android emulator (Pixel 2 API 33) I receive275760-09-12 20:00:00.000
.Expected Behavior
Same expiration dates for ios and android.
To Reproduce
call the login method from the FacebookAuth package print the access token on an android device print the access token on an ios device
Relevant log output
No response
flutter doctor -v
Info.plist (iOS)
No response
Podfile (iOS)
No response
AndroidManifest.xml
No response
MainActivity.java
No response
MainActivity.kt
No response
index.html
No response
Info.plist (macOS)
No response