Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
(6db96093)
Browse files Browse the repository at this point in the history
  • Loading branch information
glassfy-robot committed Feb 25, 2022
1 parent 84c81d2 commit e05c30e
Show file tree
Hide file tree
Showing 12 changed files with 19,576 additions and 25,627 deletions.
4 changes: 2 additions & 2 deletions CapacitorPluginGlassfy.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Pod::Spec.new do |s|
s.author = package['author']
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
s.ios.deployment_target = '10.0'
s.ios.deployment_target = '12.0'
s.dependency 'Capacitor'
s.swift_version = '5.1'
s.dependency 'GlassfyGlue','1.1.70'
s.dependency 'GlassfyGlue','1.1.81'
end
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ ionic capacitor open ios
* [`sdkVersion()`](#sdkversion)
* [`initialize(...)`](#initialize)
* [`offerings()`](#offerings)
* [`skuWithIdentifier(...)`](#skuwithidentifier)
* [`skuWithId(...)`](#skuwithid)
* [`login(...)`](#login)
* [`logout()`](#logout)
* [`permissions()`](#permissions)
Expand Down Expand Up @@ -95,10 +95,10 @@ For more details, check the documentation https://docs.glassfy.io/dashboard/conf
--------------------


### skuWithIdentifier(...)
### skuWithId(...)

```typescript
skuWithIdentifier(options: { identifier: string; }) => Promise<GlassfySku>
skuWithId(options: { identifier: string; }) => Promise<GlassfySku>
```

For more details, check the documentation https://docs.glassfy.io/dashboard/configure-products
Expand Down Expand Up @@ -242,15 +242,15 @@ getUserProperty() => Promise<void>

| Prop | Type |
| ---------------- | ------------------------- |
| **`identifier`** | <code>string</code> |
| **`offeringId`** | <code>string</code> |
| **`skus`** | <code>[GlassfySku]</code> |


#### GlassfySku

| Prop | Type |
| ----------------------------- | --------------------------------------------------------------------- |
| **`identifier`** | <code>string</code> |
| **`skuId`** | <code>string</code> |
| **`productId`** | <code>string</code> |
| **`introductoryEligibility`** | <code><a href="#glassfy_eleggibility">GLASSFY_ELEGGIBILITY</a></code> |
| **`promotionalEligibility`** | <code><a href="#glassfy_eleggibility">GLASSFY_ELEGGIBILITY</a></code> |
Expand All @@ -270,22 +270,22 @@ getUserProperty() => Promise<void>

#### GlassfyPermission

| Prop | Type |
| -------------------------- | ------------------------------------------------------------------- |
| **`permissionIdentifier`** | <code>string</code> |
| **`entitlement`** | <code><a href="#glassfy_entitlement">GLASSFY_ENTITLEMENT</a></code> |
| **`isValid`** | <code>boolean</code> |
| **`expireDate`** | <code>string</code> |
| **`accountableSkus`** | <code>[string]</code> |
| Prop | Type |
| --------------------- | ------------------------------------------------------------------- |
| **`permissionId`** | <code>string</code> |
| **`entitlement`** | <code><a href="#glassfy_entitlement">GLASSFY_ENTITLEMENT</a></code> |
| **`isValid`** | <code>boolean</code> |
| **`expireDate`** | <code>string</code> |
| **`accountableSkus`** | <code>[string]</code> |


#### GlassfyTransaction

| Prop | Type |
| ----------------------- | ----------------------------------------------------------------- |
| **`productIdentifier`** | <code>string</code> |
| **`receiptValidated`** | <code>boolean</code> |
| **`permissions`** | <code><a href="#glassfypermissions">GlassfyPermissions</a></code> |
| Prop | Type |
| ---------------------- | ----------------------------------------------------------------- |
| **`productId`** | <code>string</code> |
| **`receiptValidated`** | <code>boolean</code> |
| **`permissions`** | <code><a href="#glassfypermissions">GlassfyPermissions</a></code> |


### Enums
Expand Down
2 changes: 1 addition & 1 deletion example/android/app/src/main/assets/capacitor.config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"appId": "io.glassfy.plugin.example",
"appId": "co.briseide.testapp",
"appName": "example",
"webDir": "www",
"bundledWebRuntime": false
Expand Down
5 changes: 2 additions & 3 deletions example/ios/App/App.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,7 @@
INFOPLIST_FILE = App/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 1.1.70;
MARKETING_VERSION = 1.1.7;
MARKETING_VERSION = 1.1.80;
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
PRODUCT_BUNDLE_IDENTIFIER = app.example.app;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -371,7 +370,7 @@
INFOPLIST_FILE = App/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 1.1.70;
MARKETING_VERSION = 1.1.80;
PRODUCT_BUNDLE_IDENTIFIER = app.example.app;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "";
Expand Down
Loading

0 comments on commit e05c30e

Please sign in to comment.