Skip to content
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

Fix Crash on API 31+ #46

Merged

Conversation

masterwok
Copy link
Contributor

Sorry, this is a duplicate of my previous PR. I had to delete the first one because I committed something that shouldn't have been pushed up.

This pull request fixes a crash that occurs when receiving a push notification on Android API 31+ (#40)

This crash was due to the Android Iterable SDK not setting mutability on a PendingIntent.

The fix was to bump the Android Iterable SDK to version 3.4.2 as discussed here: Iterable/iterable-android-sdk#430

Other changes:

  • Bumped Kotlin version to 1.6.21 (had to bump to support API 31 so bumped to latest)
  • flutter pub get implicitly upgraded other packages

I wasn't sure what versioning strategy you use so I didn't bump the iterable-flutter package version.

Below is a video demonstrating the fix:

Screen.Recording.2022-04-27.at.11.19.14.AM.mov

Copy link
Contributor

@danielgomezrico danielgomezrico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks! If the CI works I agree to merge it

example/android/app/google-services.json Outdated Show resolved Hide resolved
Copy link
Contributor

@cdmunoz cdmunoz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 💯

+1 to @danielgomezrico comment in regards CI

Edit: comment deleted regarding pubspec.lock

Copy link
Contributor

@Santi92 Santi92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Supper Nice !!
When you want can merge this PR 🤓 .

@danielgomezrico danielgomezrico merged commit e412bde into la-haus:master May 5, 2022
@Santi92 Santi92 mentioned this pull request May 5, 2022
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

Successfully merging this pull request may close these issues.

4 participants