Skip to content

v3.0.0

Choose a tag to compare

@GeorgiiMishin GeorgiiMishin released this 02 Apr 08:49
· 2 commits to master since this release
fbf9ec1

What's New in v3.0.0:

  • Added Placements support with a new method: ApphudSdk.placements(): Promise<ApphudPlacement[]>.
  • Introduced a new ApphudSdkEventEmitter instance specifically for subscription events.
  • ApphudSdk and ApphudSdkEventEmitter are now available via named exports.
  • ApphudSdk.start method now returns ApphudUser object.
  • Migrated addAttribution(options: Record<string, any>): void to setAttribution(options: AttributionProperties): Promise<boolean>.
  • Added ApphudSdk.idfv() method for iOS (returns null on Android).
  • Refactored setAdvertisingIdentifier to ApphudSdk.setAdvertisingIdentifiers(options: Partial<Identifiers>): void.
  • Added optional placementId parameter to ApphudSdk.purchase method.
  • Added optional placementId parameter to ApphudSdk.paywallShown and ApphudSdk.paywallClosed methods.
  • Updated dependencies to the latest SDK versions: iOS 3.6.2 and Android 2.9.1.