Skip to content

Commit

Permalink
Added removeNotificationReceivedHandler method for other SDKs to use
Browse files Browse the repository at this point in the history
  • Loading branch information
jkasten2 committed Aug 31, 2016
1 parent ad88bff commit 6c87c1b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Examples/AndroidStudio/.idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified OneSignalSDK.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public void init() {
private static TrackGooglePurchase trackGooglePurchase;
private static TrackAmazonPurchase trackAmazonPurchase;

public static final String VERSION = "030100";
public static final String VERSION = "030101";

private static AdvertisingIdentifierProvider mainAdIdProvider = new AdvertisingIdProviderGPS();

Expand Down Expand Up @@ -1263,6 +1263,10 @@ public static void removeNotificationOpenedHandler() {
mInitBuilder.mNotificationOpenedHandler = null;
}

public static void removeNotificationReceivedHandler() {
mInitBuilder.mNotificationReceivedHandler = null;
}

static long GetUnsentActiveTime() {
if (unSentActiveTime == -1 && appContext != null) {
final SharedPreferences prefs = getGcmPreferences(appContext);
Expand Down

0 comments on commit 6c87c1b

Please sign in to comment.