Skip to content

Commit 6c87c1b

Browse files
committed
Added removeNotificationReceivedHandler method for other SDKs to use
1 parent ad88bff commit 6c87c1b

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

Examples/AndroidStudio/.idea/.name

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

OneSignalSDK.jar

20 Bytes
Binary file not shown.

OneSignalSDK/onesignal/src/main/java/com/onesignal/OneSignal.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public void init() {
167167
private static TrackGooglePurchase trackGooglePurchase;
168168
private static TrackAmazonPurchase trackAmazonPurchase;
169169

170-
public static final String VERSION = "030100";
170+
public static final String VERSION = "030101";
171171

172172
private static AdvertisingIdentifierProvider mainAdIdProvider = new AdvertisingIdProviderGPS();
173173

@@ -1263,6 +1263,10 @@ public static void removeNotificationOpenedHandler() {
12631263
mInitBuilder.mNotificationOpenedHandler = null;
12641264
}
12651265

1266+
public static void removeNotificationReceivedHandler() {
1267+
mInitBuilder.mNotificationReceivedHandler = null;
1268+
}
1269+
12661270
static long GetUnsentActiveTime() {
12671271
if (unSentActiveTime == -1 && appContext != null) {
12681272
final SharedPreferences prefs = getGcmPreferences(appContext);

0 commit comments

Comments
 (0)