Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
react-native-fcm
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ym
react-native-fcm
Commits
d1f64aff
Commit
d1f64aff
authored
Mar 21, 2018
by
Thibault Malbranche
Committed by
GitHub
Mar 21, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5 from evollu/master
Update from evollu
parents
cb16cd8c
14bd8909
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
3 deletions
+10
-3
Examples/simple-fcm-client/ios/Podfile.lock
Examples/simple-fcm-client/ios/Podfile.lock
+1
-1
android/src/main/java/com/evollu/react/fcm/SendNotificationTask.java
.../main/java/com/evollu/react/fcm/SendNotificationTask.java
+1
-1
ios/RNFIRMessaging.h
ios/RNFIRMessaging.h
+7
-0
package.json
package.json
+1
-1
No files found.
Examples/simple-fcm-client/ios/Podfile.lock
View file @
d1f64aff
...
@@ -47,4 +47,4 @@ SPEC CHECKSUMS:
...
@@ -47,4 +47,4 @@ SPEC CHECKSUMS:
PODFILE CHECKSUM: 31f07bb14b00eef65c77cff51721f530ad6eb826
PODFILE CHECKSUM: 31f07bb14b00eef65c77cff51721f530ad6eb826
COCOAPODS: 1.
3.1
COCOAPODS: 1.
4.0
android/src/main/java/com/evollu/react/fcm/SendNotificationTask.java
View file @
d1f64aff
...
@@ -232,7 +232,7 @@ public class SendNotificationTask extends AsyncTask<Void, Void, Void> {
...
@@ -232,7 +232,7 @@ public class SendNotificationTask extends AsyncTask<Void, Void, Void> {
PendingIntent
pendingActionIntent
=
PendingIntent
.
getActivity
(
mContext
,
notificationID
,
actionIntent
,
PendingIntent
pendingActionIntent
=
PendingIntent
.
getActivity
(
mContext
,
notificationID
,
actionIntent
,
PendingIntent
.
FLAG_UPDATE_CURRENT
);
PendingIntent
.
FLAG_UPDATE_CURRENT
);
notification
.
addAction
(
1
,
actionTitle
,
pendingActionIntent
);
notification
.
addAction
(
0
,
actionTitle
,
pendingActionIntent
);
}
}
}
}
...
...
ios/RNFIRMessaging.h
View file @
d1f64aff
#import <UIKit/UIKit.h>
#import <UIKit/UIKit.h>
#if __has_include(<Firebase.h>)
#import <FirebaseCore/FirebaseCore.h>
#import <FirebaseMessaging/FirebaseMessaging.h>
#import <FirebaseInstanceID/FirebaseInstanceID.h>
#else
@import
Firebase
;
@import
Firebase
;
#endif
#import <React/RCTEventEmitter.h>
#import <React/RCTEventEmitter.h>
@import
UserNotifications
;
@import
UserNotifications
;
...
...
package.json
View file @
d1f64aff
...
@@ -24,5 +24,5 @@
...
@@ -24,5 +24,5 @@
"type"
:
"git"
,
"type"
:
"git"
,
"url"
:
"git+https://github.com/evollu/react-native-fcm.git"
"url"
:
"git+https://github.com/evollu/react-native-fcm.git"
},
},
"version"
:
"14.1.
0
"
"version"
:
"14.1.
2
"
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment