react-native-gcm-android
GCM for React Native Android
File Explorer
Download Latest Version (.zip)- BackgroundService.java
- GcmBroadcastReceiver.java
- GcmModule.java
- GcmPackage.java
- GcmRegistrationService.java
- MainReactPackage.java
- RNGcmListenerService.java
- AndroidManifest.xml
- build.gradle
- .gitignore
- .npmignore
- index.android.js
- index.ios.js
- LICENSE
- package.json
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/oney/react-native-gcm-android
Downloads the entire project code from GitHub to your computer.
cd react-native-gcm-android
Moves into the project folder you just downloaded.
2. Gradle (Java/Kotlin)
Medium RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- JDK (Java) Required to build and run Java/Kotlin projects.
- Gradle If the repo includes gradlew (Gradle Wrapper), you don't need to install Gradle separately.
classpath 'com.android.tools.build:gradle:1.3.1'
Builds the project using Gradle.
A BUILD SUCCESSFUL message means it worked. The output is created under build/.
Pulled directly from this repo's README.
3. Node.js
EasyPrerequisites
npm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
// repository documentation
Was this content helpful?
(0 ratings)
