Skip to content

Commit 0a89a4f

Browse files
committed
Fixed custom notification opened activity data.
1 parent dbc3bab commit 0a89a4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

OneSignalSDK.jar

-1 Bytes
Binary file not shown.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public interface PostNotificationResponseHandler {
141141
private static TrackGooglePurchase trackGooglePurchase;
142142
private static TrackAmazonPurchase trackAmazonPurchase;
143143

144-
public static final String VERSION = "011006";
144+
public static final String VERSION = "011007";
145145

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

10001000
resolveInfo = packageManager.queryIntentActivities(intent, PackageManager.MATCH_DEFAULT_ONLY);
10011001
if (resolveInfo.size() > 0) {
1002-
isCustom = true;
10031002
if (!isCustom)
10041003
intent.putExtra("onesignal_data", data.toString());
1004+
isCustom = true;
10051005
intent.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
10061006
inContext.startActivity(intent);
10071007
}

0 commit comments

Comments
 (0)