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
3b151c98
Commit
3b151c98
authored
Oct 12, 2016
by
renato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FCM changes for Android
parent
672d53b1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
1 deletion
+24
-1
Examples/simple-fcm-client/android/app/build.gradle
Examples/simple-fcm-client/android/app/build.gradle
+1
-0
Examples/simple-fcm-client/android/app/src/main/AndroidManifest.xml
...imple-fcm-client/android/app/src/main/AndroidManifest.xml
+21
-0
Examples/simple-fcm-client/android/build.gradle
Examples/simple-fcm-client/android/build.gradle
+2
-1
No files found.
Examples/simple-fcm-client/android/app/build.gradle
View file @
3b151c98
apply
plugin:
"com.android.application"
apply
plugin:
"com.android.application"
apply
plugin:
"com.google.gms.google-services"
import
com.android.build.OutputFile
import
com.android.build.OutputFile
...
...
Examples/simple-fcm-client/android/app/src/main/AndroidManifest.xml
View file @
3b151c98
...
@@ -16,14 +16,35 @@
...
@@ -16,14 +16,35 @@
android:label=
"@string/app_name"
android:label=
"@string/app_name"
android:icon=
"@mipmap/ic_launcher"
android:icon=
"@mipmap/ic_launcher"
android:theme=
"@style/AppTheme"
>
android:theme=
"@style/AppTheme"
>
<service
android:name=
"com.evollu.react.fcm.MessagingService"
>
<intent-filter>
<action
android:name=
"com.google.firebase.MESSAGING_EVENT"
/>
</intent-filter>
</service>
<service
android:name=
"com.evollu.react.fcm.InstanceIdService"
android:exported=
"false"
>
<intent-filter>
<action
android:name=
"com.google.firebase.INSTANCE_ID_EVENT"
/>
</intent-filter>
</service>
<activity
<activity
android:name=
".MainActivity"
android:name=
".MainActivity"
android:label=
"@string/app_name"
android:label=
"@string/app_name"
android:launchMode=
"singleTop"
android:configChanges=
"keyboard|keyboardHidden|orientation|screenSize"
>
android:configChanges=
"keyboard|keyboardHidden|orientation|screenSize"
>
<intent-filter>
<intent-filter>
<action
android:name=
"android.intent.action.MAIN"
/>
<action
android:name=
"android.intent.action.MAIN"
/>
<category
android:name=
"android.intent.category.LAUNCHER"
/>
<category
android:name=
"android.intent.category.LAUNCHER"
/>
</intent-filter>
</intent-filter>
<intent-filter>
<action
android:name=
"fcm.ACTION.HELLO"
/>
<category
android:name=
"android.intent.category.DEFAULT"
/>
</intent-filter>
</activity>
</activity>
<activity
android:name=
"com.facebook.react.devsupport.DevSettingsActivity"
/>
<activity
android:name=
"com.facebook.react.devsupport.DevSettingsActivity"
/>
</application>
</application>
...
...
Examples/simple-fcm-client/android/build.gradle
View file @
3b151c98
...
@@ -5,7 +5,8 @@ buildscript {
...
@@ -5,7 +5,8 @@ buildscript {
jcenter
()
jcenter
()
}
}
dependencies
{
dependencies
{
classpath
'com.android.tools.build:gradle:1.3.1'
classpath
'com.android.tools.build:gradle:2.0.0'
classpath
'com.google.gms.google-services:3.0.0'
// NOTE: Do not place your application dependencies here; they belong
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
// in the individual module build.gradle files
...
...
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