Skip to content

Commit 6c611dd

Browse files
committed
rm Amazon in-app purchase tracking
Amazon doesn't have an official API for SDKs to track IAP, as a result we have been using reflection to hook into internal API's. This is extremely fragile, it breaks on every patch version of Amazon's IAP library. Due to the fact the market is moving away IAP through app stores and Amazon's pullback on bring the Amazon store to other platforms (like Windows) the importance has shrunk so low the maintenance isn't worth it anymore.
1 parent b67fb23 commit 6c611dd

File tree

2 files changed

+0
-250
lines changed

2 files changed

+0
-250
lines changed

OneSignalSDK/onesignal/core/src/main/java/com/onesignal/core/CoreModule.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ import com.onesignal.core.internal.permissions.IRequestPermissionService
2929
import com.onesignal.core.internal.permissions.impl.RequestPermissionService
3030
import com.onesignal.core.internal.preferences.IPreferencesService
3131
import com.onesignal.core.internal.preferences.impl.PreferencesService
32-
import com.onesignal.core.internal.purchases.impl.TrackAmazonPurchase
3332
import com.onesignal.core.internal.purchases.impl.TrackGooglePurchase
3433
import com.onesignal.core.internal.startup.IStartableService
3534
import com.onesignal.core.internal.time.ITime
@@ -80,7 +79,6 @@ internal class CoreModule : IModule {
8079
.provides<IStartableService>()
8180

8281
// Purchase Tracking
83-
builder.register<TrackAmazonPurchase>().provides<IStartableService>()
8482
builder.register<TrackGooglePurchase>().provides<IStartableService>()
8583

8684
// Register dummy services in the event they are not configured. These dummy services

OneSignalSDK/onesignal/core/src/main/java/com/onesignal/core/internal/purchases/impl/TrackAmazonPurchase.kt

Lines changed: 0 additions & 248 deletions
This file was deleted.

0 commit comments

Comments
 (0)