Closed rezwanahmedsami closed 4 months ago
I found the issue @brayden-onesignal hey guys you there? i need your help guys, last time i was contacted you before, like my ios flutter app crashing on click notification when app is killed.
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 cd iOS && pod install && cd ...
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: 10.27.0 - [FirebaseCore][I-COR000012] Could not locate configuration file: 'GoogleService-Info.plist'.
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 had the same issue - solved using the steps mentioned by @rezwanahmedsami , thanks!!!!
I needed only add the "name" param also to avoid the A Firebase App named "[DEFAULT]" already exists
error:
// in my main.dart, before runApp:
await Firebase.initializeApp(
name: "2",
options: DefaultFirebaseOptions.currentPlatform,
);
Hi, I had the same issue - solved using the steps mentioned by @rezwanahmedsami , thanks!!!!
I needed only add also the "name" param also to avoid the
A Firebase App named "[DEFAULT]" already exists
error:// 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