mirror of
https://github.com/readest/readest.git
synced 2026-04-29 12:00:49 +00:00
This commit is contained in:
parent
669d3950e2
commit
5141be1c3f
18 changed files with 140 additions and 8 deletions
|
|
@ -706,6 +706,10 @@ class NativeBridgePlugin: Plugin {
|
|||
}
|
||||
}
|
||||
|
||||
@objc public func iap_is_available(_ invoke: Invoke) {
|
||||
invoke.resolve(["available": true])
|
||||
}
|
||||
|
||||
@objc public func iap_initialize(_ invoke: Invoke) {
|
||||
StoreKitManager.shared.initialize()
|
||||
invoke.resolve(["success": true])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue