-
Notifications
You must be signed in to change notification settings - Fork 215
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
[Bug]: ios notification click not foregrounding app in version 5.2.1 #912
Comments
I found the issue @brayden-onesignal you guys that time checked onesignal, and told me it was perfect, i was tested later and i found issue with firebase actually, like when i use flutter firebase_auth: ^5.1.1 latest version. even i don't need to write any code, just after adding firebase_auth: ^5.1.1 in pubsec.yml and do run: flutter pub get and when i run the app, app ran succes, but after killing the app if any notification come from onesignal to this app and onclick this notification, the ios app crash. if i don't add firebase_auth: ^5.1.1 then its work fine. And its just happeing in iOS flutter |
guys I fixed it, actually the issue was: but i was added the GoogleService_Info.plist to my project iOS/Runner/ folder, but didn't register the file in the .xcworkspace file. So I had to right-click on the Runner-folder in Xcode, choose Add Files to "Runner"..., and select the file GoogleService_Info.plist |
Hi, I needed only add the "name" param also to avoid the // in my main.dart, before runApp:
await Firebase.initializeApp(
name: "2",
options: DefaultFirebaseOptions.currentPlatform,
); |
Ok thanks |
What happened?
The latest version 5.2.1 onclick ios notification, its not the foregrounding app. But in android working fine.
Steps to reproduce?
What did you expect to happen?
On click ios notification, it should foreground app.
OneSignal Flutter SDK version
Release 5.2.1
Which platform(s) are affected?
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: