The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
## What's Changed
* Added Stripe details on StoreInfo API
## What's Changed
* Added support to [Customizable Paywall](https://docs.glassfy.io/docs/how-to-create-a-customizable-paywall-and-deploy-it-in-your-app)
Connect Glassfy Universal Code
1 year ago
## What's Changed
* added support to [Connect Glassfy Universal Code](https://docs.glassfy.io/docs/sdk-usage#connect-glassfy-universal-code)
Purchase History API
1 year ago
## What's Changed
* Added support to the [Purchase History Object](https://docs.glassfy.io/docs/purchase-history) & [Purchase History Api](https://docs.glassfy.io/docs/sdk-usage#purchase-history)
Added API to get purchase history
```
Glassfy.purchaseHistory { history, err in
history?.all.forEach({ p in
// p.type
// p.productId
// p.skuId
// p.store
// p.expireDate
})
}
```
Now you can set attributions attributes with the following code:
```
Glassfy.setAttribution(type: .IDFA, value: "device_idfa") { err in
// [...]
}
```
the following attributes can be set
Unique Adjust ID of the device. Available after the installation has been successfully tracked.
`.AdjustID`
App identifier generated by AppsFlyer at installation. A new ID is generated if an app is deleted, then reinstalled.
`.AppsFlyerID`
Identifier For Advertisers - Unique to each device. Only use for advertising.
`.IDFA`
Identifier For Vendor - Uniquely identifies a device to the app’s vendor.
`.IDFV`
User IP address
`.IP`
Add API to set attribution tracking ids
## Added
- On `Glassfy`:
```
+ (void)setAttributionWithType:(GYAttributionType)type value:(NSString *_Nullable)value completion:(GYErrorCompletion)block;
+ (void)setAttributions:(NSArray<GYAttributionItem*> *)attributions completion:(GYErrorCompletion)block;
```
- New class `GYAttributionItem`:
```
+ (instancetype)attributionItemWithType:(GYAttributionType)name value:(NSString *_Nullable)value;
```
- New enum `GYAttributionType`:
```
GYAttributionTypeAdjustID
GYAttributionTypeAppsFlyerID
GYAttributionTypeIDFA
GYAttributionTypeIDFV
GYAttributionTypeIP
```
Beta support for Customizable Paywall : see https://docs.glassfy.io/docs/how-to-create-a-customizable-paywall-and-deploy-it-in-your-app
- New class `AccountableSku` returned from permission API
- Log hint
Added properties to `GYSkuBase`:
- `BOOL isInIntoOffer;`
- `BOOL isTrial;`