-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Preparing for next release * update changelog
- Loading branch information
Showing
7 changed files
with
11 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1 @@ | ||
This release has some changes that should help prevent "There is no singleton instance" errors [issue](https://github.com/RevenueCat/react-native-purchases/issues/101), [PR](https://github.com/RevenueCat/react-native-purchases/pull/310). | ||
- Added `isConfigured` function to be able to check if the instance of Purchases has been configured before calling any function that accesses the singleton instance. | ||
- These functions that were returning `void`, now return `Promise<void>`: | ||
|
||
| Integrations | Subscriber attributes | Configuration and other | | ||
| :------------------: | :------------------------: | :----------------------------: | | ||
| `addAttributionData` | `collectDeviceIdentifiers` | `invalidatePurchaserInfoCache` | | ||
| `setAd` | `setAttributes` | `presentCodeRedemptionSheet` | | ||
| `setAdGroup` | `setDisplayName` | `setAllowSharingStoreAccount` | | ||
| `setAdjustID` | `setEmail` | `setAutomaticAppleSearchAdsAttributionCollection` | | ||
| `setAirshipChannelID`| `setPhoneNumber` | `setDebugLogsEnabled` | | ||
| `setAppsflyerID` | `setPushToken` | `setFinishTransactions` | | ||
| `setCampaign` | | `setSimulatesAskToBuyInSandbox` | | ||
| `setCreative` | | `syncPurchases` | | ||
| `setFBAnonymousID` | | | | ||
| `setKeyword` | | | | ||
| `setMediaSource` | | | | ||
| `setMparticleID` | | | | ||
| `setOnesignalID` | | | | ||
|
||
- Accessing a function that accesses the singleton instance before it has been setup will now reject with a `UninitializedPurchasesError`. | ||
|
||
- Bump`purchases-hybrid-common` to `1.11.1` [Changelog here](https://github.com/RevenueCat/purchases-hybrid-common/releases/tag/1.10.1) | ||
- Bump `purchases-ios` to `3.13.1` ([Changelog here](https://github.com/RevenueCat/purchases-ios/releases/3.13.1)) | ||
- Bump `purchases-android` to `4.6.0` ([Changelog here](https://github.com/RevenueCat/purchases-android/releases/4.6.0)) | ||
- Fix Expo 44 compatibility by fixing `RCTEventEmitter` import [PR](https://github.com/RevenueCat/react-native-purchases/commit/75e3c5a99430168fac3a2a28c17238408580fcb3) [Issue](https://github.com/RevenueCat/react-native-purchases/issues/160) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters