mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 10:36:14 +08:00
feat(purchases): add setAirshipChannelID
method (#3856)
This commit is contained in:
parent
96847444fa
commit
2f25396c94
@ -237,7 +237,7 @@ export enum INTRO_ELIGIBILITY_STATUS {
|
|||||||
*/
|
*/
|
||||||
@Plugin({
|
@Plugin({
|
||||||
pluginName: 'Purchases',
|
pluginName: 'Purchases',
|
||||||
plugin: 'cordova-plugin-purchases@2.3.0',
|
plugin: 'cordova-plugin-purchases@2.4.0',
|
||||||
pluginRef: 'Purchases', // the variable reference to call the plugin, example: navigator.geolocation
|
pluginRef: 'Purchases', // the variable reference to call the plugin, example: navigator.geolocation
|
||||||
repo: 'https://github.com/RevenueCat/cordova-plugin-purchases', // the github repository URL for the plugin
|
repo: 'https://github.com/RevenueCat/cordova-plugin-purchases', // the github repository URL for the plugin
|
||||||
platforms: ['Android', 'iOS'], // Array of platforms supported, example: ['Android', 'iOS']
|
platforms: ['Android', 'iOS'], // Array of platforms supported, example: ['Android', 'iOS']
|
||||||
@ -754,6 +754,15 @@ export class Purchases extends AwesomeCordovaNativePlugin {
|
|||||||
@Cordova({ sync: true })
|
@Cordova({ sync: true })
|
||||||
setOnesignalID(onesignalID: string | null): void {}
|
setOnesignalID(onesignalID: string | null): void {}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Subscriber attribute associated with the Airship Channel Id for the user
|
||||||
|
* Required for the RevenueCat Airship integration
|
||||||
|
*
|
||||||
|
* @param airshipChannelID Empty String or null will delete the subscriber attribute.
|
||||||
|
*/
|
||||||
|
@Cordova({ sync: true })
|
||||||
|
setAirshipChannelID(airshipChannelID: string | null): void {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Automatically collect subscriber attributes associated with the device identifiers.
|
* Automatically collect subscriber attributes associated with the device identifiers.
|
||||||
* $idfa, $idfv, $ip on iOS
|
* $idfa, $idfv, $ip on iOS
|
||||||
|
Loading…
Reference in New Issue
Block a user