Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

update README about localNotificationSchedule() #816

Merged
merged 1 commit into from
Aug 10, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,19 +59,19 @@ ext {
In your `AndroidManifest.xml`
```xml
.....
<!-- <Only if you're using GCM> -->
<!-- < Only if you're using GCM or localNotificationSchedule() > -->
<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" />
<!-- </Only if you're using GCM> -->
<!-- < Only if you're using GCM or localNotificationSchedule() > -->

<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>

<application ....>
<!-- <Only if you're using GCM> -->
<!-- < Only if you're using GCM or localNotificationSchedule() > -->
<receiver
android:name="com.google.android.gms.gcm.GcmReceiver"
android:exported="true"
Expand All @@ -81,7 +81,7 @@ In your `AndroidManifest.xml`
<category android:name="${applicationId}" />
</intent-filter>
</receiver>
<!-- </Only if you're using GCM> -->
<!-- < Only if you're using GCM or localNotificationSchedule() > -->

<receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationPublisher" />
<receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationBootEventReceiver">
Expand All @@ -94,9 +94,9 @@ In your `AndroidManifest.xml`
android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationListenerService"
android:exported="false" >
<intent-filter>
<!-- <Only if you're using GCM> -->
<!-- < Only if you're using GCM or localNotificationSchedule() > -->
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<!-- </Only if you're using GCM> -->
<!-- < Only if you're using GCM or localNotificationSchedule() > -->

<!-- <Else> -->
<action android:name="com.google.firebase.MESSAGING_EVENT" />
Expand Down Expand Up @@ -372,4 +372,4 @@ Same parameters as `PushNotification.localNotification()`

`PushNotification.getApplicationIconBadgeNumber(callback: Function)` Get badge number

`PushNotification.abandonPermissions()` Abandon permissions
`PushNotification.abandonPermissions()` Abandon permissions