-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Platform Exception Error when running app in release mode #34
Comments
Are you using the example app or your own app? |
it's working completely fine on debug and profile mode but giving error in release mode.
|
It looks like you're missing quite a few things in your |
Example project is giving the same error and i have gone through android.manifest multiple times, please if you can let me know what i am missing there. |
I was able to reproduce this error, as far as I can tell the error occurs because you're using the Staging key from the Snapchat Developer Portal in a release build instead of the Production key which requires that your app is approved by Snapchat before it can be used, however I will do some more testing soon to make sure. If you're able to get your app approved by Snapchat, try switching to the Production key and let me know if your release build starts working once making the switch! |
Where are you using the Production Key in your |
My bad, it is there but I forgot to copy that
|
Did anyone find the solution for this? I have the same issue, working fine on debug mode, and not working on release apk. I am using production client Id. |
Did anyone find the solution for this? I have the same issue, working fine on debug mode, and not working on release apk. I am using production client Id. Please any one have solution for this , |
Hey @atif2148, did you manage to solve this? Also, how long did it take to get your Snap Kit app approved? Thanks. |
Hello @atif2148 @dammalani @zeshanmusaw, as of Snap Kit v1.13.0, Could you tell me how much time did the the review take in your cases? Anyway, here is the forked repo, feel free to try it. I would be willing to make a PR if it does work, but I converted the android platform-specific code to Kotlin because I absolutely abhor Java. I'm not sure whether the author is okay with this change. |
I also have same issue . Have anyone solved the issue . How? please share |
Steps to Reproduce
Expected results: Successful Login
Actual results: E/flutter (27362): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: PlatformException(UnknownGetUserError, Unknown Error, 400, null)
E/flutter (27362): #0 Snapkit.currentUser (package:snapkit/snapkit.dart:138)
E/flutter (27362):
E/flutter (27362): #1 Snapkit.login (package:snapkit/snapkit.dart:57)
E/flutter (27362):
E/flutter (27362):**
Logs
The text was updated successfully, but these errors were encountered: