Skip to content
Snippets Groups Projects
Commit b5e58c17 authored by emelko's avatar emelko
Browse files

Merge branch 'master' into 117-implement-pain

parents 5cdf73ce 455d4ad8
No related branches found
No related tags found
No related merge requests found
Showing
with 52 additions and 0 deletions
......@@ -138,6 +138,7 @@ android {
}
dependencies {
compile project(':react-native-push-notification')
compile project(':react-native-vector-icons')
compile project(':react-native-fs')
compile project(':react-native-document-picker')
......
......@@ -3,6 +3,15 @@
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.WAKE_LOCK" />
<permission
android:name="${applicationId}.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="${applicationId}.permission.C2D_MESSAGE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<application
android:name=".MainApplication"
......@@ -30,6 +39,46 @@
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/filepaths" />
</provider>
<meta-data android:name="com.dieam.reactnativepushnotification.notification_channel_name"
android:value="drip-notification"/>
<meta-data android:name="com.dieam.reactnativepushnotification.notification_channel_description"
android:value="notifications from drip"/>
<!-- Change the resource name to your App's accent color - or any other color you want -->
<meta-data android:name="com.dieam.reactnativepushnotification.notification_color"
android:resource="@android:color/white"/>
<!-- < Only if you're using GCM or localNotificationSchedule() > -->
<receiver
android:name="com.google.android.gms.gcm.GcmReceiver"
android:exported="true"
android:permission="com.google.android.c2dm.permission.SEND" >
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="${applicationId}" />
</intent-filter>
</receiver>
<!-- < Only if you're using GCM or localNotificationSchedule() > -->
<receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationPublisher" />
<receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationBootEventReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
<service android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationRegistrationService"/>
<service
android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationListenerService"
android:exported="false" >
<intent-filter>
<!-- < Only if you're using GCM or localNotificationSchedule() > -->
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<!-- < Only if you're using GCM or localNotificationSchedule() > -->
<!-- <Else> -->
<action android:name="com.google.firebase.MESSAGING_EVENT" />
<!-- </Else> -->
</intent-filter>
</service>
</application>
......
......@@ -3,6 +3,7 @@ package com.drip;
import android.app.Application;
import com.facebook.react.ReactApplication;
import com.dieam.reactnativepushnotification.ReactNativePushNotificationPackage;
import com.oblador.vectoricons.VectorIconsPackage;
import com.rnfs.RNFSPackage;
import com.reactnativedocumentpicker.ReactNativeDocumentPicker;
......@@ -29,6 +30,7 @@ public class MainApplication extends Application implements ReactApplication, Sh
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
new MainReactPackage(),
new ReactNativePushNotificationPackage(),
new VectorIconsPackage(),
new RNFSPackage(),
new ReactNativeDocumentPicker(),
......
android/app/src/main/res/drawable-hdpi/ic_notification.png

430 B

android/app/src/main/res/drawable-mdpi/ic_notification.png

327 B

android/app/src/main/res/drawable-xhdpi/ic_notification.png

642 B

android/app/src/main/res/drawable-xxhdpi/ic_notification.png

879 B

android/app/src/main/res/drawable-xxxhdpi/ic_notification.png

1.23 KiB

android/app/src/main/res/mipmap-hdpi/ic_launcher.png

2.98 KiB | W: | H:

android/app/src/main/res/mipmap-hdpi/ic_launcher.png

2.68 KiB | W: | H:

android/app/src/main/res/mipmap-hdpi/ic_launcher.png
android/app/src/main/res/mipmap-hdpi/ic_launcher.png
android/app/src/main/res/mipmap-hdpi/ic_launcher.png
android/app/src/main/res/mipmap-hdpi/ic_launcher.png
  • 2-up
  • Swipe
  • Onion skin
android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png

4.91 KiB

android/app/src/main/res/mipmap-hdpi/ic_notification.png

430 B

android/app/src/main/res/mipmap-mdpi/ic_launcher.png

2.05 KiB | W: | H:

android/app/src/main/res/mipmap-mdpi/ic_launcher.png

1.43 KiB | W: | H:

android/app/src/main/res/mipmap-mdpi/ic_launcher.png
android/app/src/main/res/mipmap-mdpi/ic_launcher.png
android/app/src/main/res/mipmap-mdpi/ic_launcher.png
android/app/src/main/res/mipmap-mdpi/ic_launcher.png
  • 2-up
  • Swipe
  • Onion skin
android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png

2.79 KiB

android/app/src/main/res/mipmap-mdpi/ic_notification.png

327 B

android/app/src/main/res/mipmap-xhdpi/ic_launcher.png

4.46 KiB | W: | H:

android/app/src/main/res/mipmap-xhdpi/ic_launcher.png

2.91 KiB | W: | H:

android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
  • 2-up
  • Swipe
  • Onion skin
android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png

6.93 KiB

android/app/src/main/res/mipmap-xhdpi/ic_notification.png

642 B

android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png

6.31 KiB | W: | H:

android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png

5.18 KiB | W: | H:

android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
  • 2-up
  • Swipe
  • Onion skin
android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png

10.4 KiB

android/app/src/main/res/mipmap-xxhdpi/ic_notification.png

879 B

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment