Skip to content

Commit

Permalink
Fixed custom notification opened activity data.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkasten2 committed Oct 23, 2015
1 parent dbc3bab commit 0a89a4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified OneSignalSDK.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public interface PostNotificationResponseHandler {
private static TrackGooglePurchase trackGooglePurchase;
private static TrackAmazonPurchase trackAmazonPurchase;

public static final String VERSION = "011006";
public static final String VERSION = "011007";

private static PushRegistrator pushRegistrator;
private static AdvertisingIdentifierProvider mainAdIdProvider = new AdvertisingIdProviderGPS();
Expand Down Expand Up @@ -999,9 +999,9 @@ public static void handleNotificationOpened(Context inContext, JSONArray data) {

resolveInfo = packageManager.queryIntentActivities(intent, PackageManager.MATCH_DEFAULT_ONLY);
if (resolveInfo.size() > 0) {
isCustom = true;
if (!isCustom)
intent.putExtra("onesignal_data", data.toString());
isCustom = true;
intent.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
inContext.startActivity(intent);
}
Expand Down

0 comments on commit 0a89a4f

Please sign in to comment.