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
672d53b1
Commit
672d53b1
authored
Oct 12, 2016
by
renato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Linked react-native-fcm
parent
e38c7faf
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
3 deletions
+24
-3
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/java/com/simplefcmclient/MainApplication.java
...pp/src/main/java/com/simplefcmclient/MainApplication.java
+3
-1
Examples/simple-fcm-client/android/settings.gradle
Examples/simple-fcm-client/android/settings.gradle
+2
-0
Examples/simple-fcm-client/ios/SimpleFcmClient.xcodeproj/project.pbxproj
...-fcm-client/ios/SimpleFcmClient.xcodeproj/project.pbxproj
+18
-2
No files found.
Examples/simple-fcm-client/android/app/build.gradle
View file @
672d53b1
...
@@ -126,6 +126,7 @@ android {
...
@@ -126,6 +126,7 @@ android {
}
}
dependencies
{
dependencies
{
compile
project
(
':react-native-fcm'
)
compile
fileTree
(
dir:
"libs"
,
include:
[
"*.jar"
])
compile
fileTree
(
dir:
"libs"
,
include:
[
"*.jar"
])
compile
"com.android.support:appcompat-v7:23.0.1"
compile
"com.android.support:appcompat-v7:23.0.1"
compile
"com.facebook.react:react-native:+"
// From node_modules
compile
"com.facebook.react:react-native:+"
// From node_modules
...
...
Examples/simple-fcm-client/android/app/src/main/java/com/simplefcmclient/MainApplication.java
View file @
672d53b1
...
@@ -4,6 +4,7 @@ import android.app.Application;
...
@@ -4,6 +4,7 @@ import android.app.Application;
import
android.util.Log
;
import
android.util.Log
;
import
com.facebook.react.ReactApplication
;
import
com.facebook.react.ReactApplication
;
import
com.evollu.react.fcm.FIRMessagingPackage
;
import
com.facebook.react.ReactInstanceManager
;
import
com.facebook.react.ReactInstanceManager
;
import
com.facebook.react.ReactNativeHost
;
import
com.facebook.react.ReactNativeHost
;
import
com.facebook.react.ReactPackage
;
import
com.facebook.react.ReactPackage
;
...
@@ -23,7 +24,8 @@ public class MainApplication extends Application implements ReactApplication {
...
@@ -23,7 +24,8 @@ public class MainApplication extends Application implements ReactApplication {
@Override
@Override
protected
List
<
ReactPackage
>
getPackages
()
{
protected
List
<
ReactPackage
>
getPackages
()
{
return
Arrays
.<
ReactPackage
>
asList
(
return
Arrays
.<
ReactPackage
>
asList
(
new
MainReactPackage
()
new
MainReactPackage
(),
new
FIRMessagingPackage
()
);
);
}
}
};
};
...
...
Examples/simple-fcm-client/android/settings.gradle
View file @
672d53b1
rootProject
.
name
=
'SimpleFcmClient'
rootProject
.
name
=
'SimpleFcmClient'
include
':app'
include
':app'
include
':react-native-fcm'
project
(
':react-native-fcm'
).
projectDir
=
new
File
(
rootProject
.
projectDir
,
'../node_modules/react-native-fcm/android'
)
Examples/simple-fcm-client/ios/SimpleFcmClient.xcodeproj/project.pbxproj
View file @
672d53b1
...
@@ -5,7 +5,6 @@
...
@@ -5,7 +5,6 @@
};
};
objectVersion
=
46
;
objectVersion
=
46
;
objects
=
{
objects
=
{
/* Begin PBXBuildFile section */
/* Begin PBXBuildFile section */
00C302E51ABCBA2D00DB3ED1
/* libRCTActionSheet.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
00C302AC1ABCB8CE00DB3ED1
/* libRCTActionSheet.a */
;
};
00C302E51ABCBA2D00DB3ED1
/* libRCTActionSheet.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
00C302AC1ABCB8CE00DB3ED1
/* libRCTActionSheet.a */
;
};
00C302E71ABCBA2D00DB3ED1
/* libRCTGeolocation.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
00C302BA1ABCB90400DB3ED1
/* libRCTGeolocation.a */
;
};
00C302E71ABCBA2D00DB3ED1
/* libRCTGeolocation.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
00C302BA1ABCB90400DB3ED1
/* libRCTGeolocation.a */
;
};
...
@@ -23,6 +22,7 @@
...
@@ -23,6 +22,7 @@
140ED2AC1D01E1AD002B40FF
/* libReact.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
146834041AC3E56700842450
/* libReact.a */
;
};
140ED2AC1D01E1AD002B40FF
/* libReact.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
146834041AC3E56700842450
/* libReact.a */
;
};
146834051AC3E58100842450
/* libReact.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
146834041AC3E56700842450
/* libReact.a */
;
};
146834051AC3E58100842450
/* libReact.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
146834041AC3E56700842450
/* libReact.a */
;
};
832341BD1AAA6AB300B99B32
/* libRCTText.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
832341B51AAA6A8300B99B32
/* libRCTText.a */
;
};
832341BD1AAA6AB300B99B32
/* libRCTText.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
832341B51AAA6A8300B99B32
/* libRCTText.a */
;
};
FAE94A218EB64E38BF8D8E9B
/* libRNFIRMessaging.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
692E216422234A4CB6A7A838
/* libRNFIRMessaging.a */
;
};
/* End PBXBuildFile section */
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
/* Begin PBXContainerItemProxy section */
...
@@ -127,6 +127,8 @@
...
@@ -127,6 +127,8 @@
146833FF1AC3E56700842450
/* React.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
React.xcodeproj
;
path
=
../node_modules/react-native/React/React.xcodeproj
;
sourceTree
=
"<group>"
;
};
146833FF1AC3E56700842450
/* React.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
React.xcodeproj
;
path
=
../node_modules/react-native/React/React.xcodeproj
;
sourceTree
=
"<group>"
;
};
78C398B01ACF4ADC00677621
/* RCTLinking.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
RCTLinking.xcodeproj
;
path
=
../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj
;
sourceTree
=
"<group>"
;
};
78C398B01ACF4ADC00677621
/* RCTLinking.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
RCTLinking.xcodeproj
;
path
=
../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj
;
sourceTree
=
"<group>"
;
};
832341B01AAA6A8300B99B32
/* RCTText.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
RCTText.xcodeproj
;
path
=
../node_modules/react-native/Libraries/Text/RCTText.xcodeproj
;
sourceTree
=
"<group>"
;
};
832341B01AAA6A8300B99B32
/* RCTText.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
RCTText.xcodeproj
;
path
=
../node_modules/react-native/Libraries/Text/RCTText.xcodeproj
;
sourceTree
=
"<group>"
;
};
C7DEB70C413E484CBFA6AC45
/* RNFIRMessaging.xcodeproj */
=
{
isa
=
PBXFileReference
;
name
=
"RNFIRMessaging.xcodeproj"
;
path
=
"../node_modules/react-native-fcm/ios/RNFIRMessaging.xcodeproj"
;
sourceTree
=
"<group>"
;
fileEncoding
=
undefined
;
lastKnownFileType
=
wrapper.pb-project
;
explicitFileType
=
undefined
;
includeInIndex
=
0
;
};
692E216422234A4CB6A7A838
/* libRNFIRMessaging.a */
=
{
isa
=
PBXFileReference
;
name
=
"libRNFIRMessaging.a"
;
path
=
"libRNFIRMessaging.a"
;
sourceTree
=
"<group>"
;
fileEncoding
=
undefined
;
lastKnownFileType
=
archive.ar
;
explicitFileType
=
undefined
;
includeInIndex
=
0
;
};
/* End PBXFileReference section */
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
/* Begin PBXFrameworksBuildPhase section */
...
@@ -152,6 +154,7 @@
...
@@ -152,6 +154,7 @@
832341BD1AAA6AB300B99B32
/* libRCTText.a in Frameworks */
,
832341BD1AAA6AB300B99B32
/* libRCTText.a in Frameworks */
,
00C302EA1ABCBA2D00DB3ED1
/* libRCTVibration.a in Frameworks */
,
00C302EA1ABCBA2D00DB3ED1
/* libRCTVibration.a in Frameworks */
,
139FDEF61B0652A700C62182
/* libRCTWebSocket.a in Frameworks */
,
139FDEF61B0652A700C62182
/* libRCTWebSocket.a in Frameworks */
,
FAE94A218EB64E38BF8D8E9B
/* libRNFIRMessaging.a in Frameworks */
,
);
);
runOnlyForDeploymentPostprocessing
=
0
;
runOnlyForDeploymentPostprocessing
=
0
;
};
};
...
@@ -274,6 +277,7 @@
...
@@ -274,6 +277,7 @@
832341B01AAA6A8300B99B32
/* RCTText.xcodeproj */
,
832341B01AAA6A8300B99B32
/* RCTText.xcodeproj */
,
00C302DF1ABCB9EE00DB3ED1
/* RCTVibration.xcodeproj */
,
00C302DF1ABCB9EE00DB3ED1
/* RCTVibration.xcodeproj */
,
139FDEE61B06529A00C62182
/* RCTWebSocket.xcodeproj */
,
139FDEE61B06529A00C62182
/* RCTWebSocket.xcodeproj */
,
C7DEB70C413E484CBFA6AC45
/* RNFIRMessaging.xcodeproj */
,
);
);
name
=
Libraries
;
name
=
Libraries
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
...
@@ -352,7 +356,7 @@
...
@@ -352,7 +356,7 @@
83CBB9F71A601CBA00E9B192
/* Project object */
=
{
83CBB9F71A601CBA00E9B192
/* Project object */
=
{
isa
=
PBXProject
;
isa
=
PBXProject
;
attributes
=
{
attributes
=
{
LastUpgradeCheck
=
0
610
;
LastUpgradeCheck
=
610
;
ORGANIZATIONNAME
=
Facebook
;
ORGANIZATIONNAME
=
Facebook
;
TargetAttributes
=
{
TargetAttributes
=
{
00E356ED1AD99517003FC87E
=
{
00E356ED1AD99517003FC87E
=
{
...
@@ -586,6 +590,10 @@
...
@@ -586,6 +590,10 @@
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks @loader_path/Frameworks"
;
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks @loader_path/Frameworks"
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
TEST_HOST
=
"$(BUILT_PRODUCTS_DIR)/SimpleFcmClient.app/SimpleFcmClient"
;
TEST_HOST
=
"$(BUILT_PRODUCTS_DIR)/SimpleFcmClient.app/SimpleFcmClient"
;
LIBRARY_SEARCH_PATHS
=
(
"$(inherited)"
,
"\"$(SRCROOT)/$(TARGET_NAME)\""
,
);
};
};
name
=
Debug
;
name
=
Debug
;
};
};
...
@@ -599,6 +607,10 @@
...
@@ -599,6 +607,10 @@
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks @loader_path/Frameworks"
;
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks @loader_path/Frameworks"
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
TEST_HOST
=
"$(BUILT_PRODUCTS_DIR)/SimpleFcmClient.app/SimpleFcmClient"
;
TEST_HOST
=
"$(BUILT_PRODUCTS_DIR)/SimpleFcmClient.app/SimpleFcmClient"
;
LIBRARY_SEARCH_PATHS
=
(
"$(inherited)"
,
"\"$(SRCROOT)/$(TARGET_NAME)\""
,
);
};
};
name
=
Release
;
name
=
Release
;
};
};
...
@@ -612,6 +624,7 @@
...
@@ -612,6 +624,7 @@
"$(inherited)"
,
"$(inherited)"
,
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
,
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
,
"$(SRCROOT)/../node_modules/react-native/React/**"
,
"$(SRCROOT)/../node_modules/react-native/React/**"
,
"$(SRCROOT)/../node_modules/react-native-fcm/ios"
,
);
);
INFOPLIST_FILE
=
"SimpleFcmClient/Info.plist"
;
INFOPLIST_FILE
=
"SimpleFcmClient/Info.plist"
;
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks"
;
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks"
;
...
@@ -634,6 +647,7 @@
...
@@ -634,6 +647,7 @@
"$(inherited)"
,
"$(inherited)"
,
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
,
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
,
"$(SRCROOT)/../node_modules/react-native/React/**"
,
"$(SRCROOT)/../node_modules/react-native/React/**"
,
"$(SRCROOT)/../node_modules/react-native-fcm/ios"
,
);
);
INFOPLIST_FILE
=
"SimpleFcmClient/Info.plist"
;
INFOPLIST_FILE
=
"SimpleFcmClient/Info.plist"
;
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks"
;
LD_RUNPATH_SEARCH_PATHS
=
"$(inherited) @executable_path/Frameworks"
;
...
@@ -685,6 +699,7 @@
...
@@ -685,6 +699,7 @@
"$(inherited)"
,
"$(inherited)"
,
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
,
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
,
"$(SRCROOT)/../node_modules/react-native/React/**"
,
"$(SRCROOT)/../node_modules/react-native/React/**"
,
"$(SRCROOT)/../node_modules/react-native-fcm/ios"
,
);
);
IPHONEOS_DEPLOYMENT_TARGET
=
8.0
;
IPHONEOS_DEPLOYMENT_TARGET
=
8.0
;
MTL_ENABLE_DEBUG_INFO
=
YES
;
MTL_ENABLE_DEBUG_INFO
=
YES
;
...
@@ -725,6 +740,7 @@
...
@@ -725,6 +740,7 @@
"$(inherited)"
,
"$(inherited)"
,
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
,
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
,
"$(SRCROOT)/../node_modules/react-native/React/**"
,
"$(SRCROOT)/../node_modules/react-native/React/**"
,
"$(SRCROOT)/../node_modules/react-native-fcm/ios"
,
);
);
IPHONEOS_DEPLOYMENT_TARGET
=
8.0
;
IPHONEOS_DEPLOYMENT_TARGET
=
8.0
;
MTL_ENABLE_DEBUG_INFO
=
NO
;
MTL_ENABLE_DEBUG_INFO
=
NO
;
...
...
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