Skip to content

Conversation

@jjozhu
Copy link

@jjozhu jjozhu commented Jan 9, 2019

Add a null check to prevent crashing if rawData is null

pennersr and others added 30 commits January 16, 2017 14:27
Expose registration failure event
Fix improper reference in readme.
…thout remove it from bridgeQueue, cause triggering same action multiple times.
Yui T and others added 30 commits January 24, 2019 12:34
[GCM>FCM] Update with latest change from wix repository
# Conflicts:
#	README.md
#	RNNotifications/RNNotifications.h
#	RNNotifications/RNNotifications.m
#	android/build.gradle
#	android/src/main/java/com/wix/reactnativenotifications/RNNotificationsPackage.java
#	android/src/main/java/com/wix/reactnativenotifications/core/NotificationIntentAdapter.java
#	android/src/main/java/com/wix/reactnativenotifications/core/notification/PushNotification.java
#	package.json
[GCM>FCM] Bring in FCM support from the wix repository
Fix some build errors when bring this change into the mobile app
…ntNotSentToJS

add RNNotificationsNativeCallback so native can track PN events that weren't sent to JS
…ild-warnings

Bump gradle build tools and move to implementation and api keywords t…
…o the UI thread.

This is required due to the changes around JobIntentService required for scheduling
work on android O and above.  In this mode the FcmToken methods can be executed
on threads other than the UI thread.  This flow can cause the main ReactNativeInstance
to be null, and thus require a creation call to execute.  Because this call must
be executed on a main thread we get crashes.

Solution is to always post this action to the main thread as a protection against
background execution of the ReactNativeInstance.createReactNativeInstanceManager call.
.
…for_fcm_token

Updates FcmToken.sendTokenToJS to always post a runnable to the UI thread.
Use BigText style on Android push notifications
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.