Replace Purchasely.startWithApiKey() with Purchasely.start() to make all arguments optional except ApiKey
Allow user to force StoreKit 1 for iOS
await Purchasely.start({
apiKey: 'fcb39be4-2ba4-4db7-bde3-2a5a1e20745d',
logLevel: LogLevels.DEBUG, // to force log level for debug
userId: 'test-user', // if you know your user id
runningMode: RunningMode.FULL, // to set mode manually
storeKit1: false, // default is StoreKit2
androidStores: ['Google', 'Huawei'] // Google is already set by default
});
Replace
Purchasely.startWithApiKey()
withPurchasely.start()
to make all arguments optional except ApiKeyAllow user to force StoreKit 1 for iOS