Skip to content

Get.to() on FlutterFire onResume handler not working on iOS. #123

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

Closed
FactorMouk opened this issue Oct 22, 2020 · 2 comments
Closed

Get.to() on FlutterFire onResume handler not working on iOS. #123

FactorMouk opened this issue Oct 22, 2020 · 2 comments

Comments

@FactorMouk
Copy link

I have this on FlutterFire onResume handler:

onResume: (Map<String, dynamic> message) async {
     if (!global.onChatScreen) {
         Get.to(ChatView(
                chatID: int.parse(message['data']['conversation_id'])));
     }
},

This works on Android (when I click on the notification, I'm redirected to the Chat Preview page), but not on iOS!
I checked and the code goes into "if".

@evandrmb
Copy link

Are you sure this issue belongs to Get_it? To me it seems you're using Get navigation (this package: https://pub.dev/packages/get)

@escamoteur
Copy link
Collaborator

Thats what I just wanted to say :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants