fix(safari-view-controller): fix wrappers
This commit is contained in:
parent
d03ff962e3
commit
b4b3ec0d2a
@ -41,7 +41,7 @@ import {Plugin, Cordova} from './plugin';
|
|||||||
@Plugin({
|
@Plugin({
|
||||||
plugin: 'cordova-plugin-safariviewcontroller',
|
plugin: 'cordova-plugin-safariviewcontroller',
|
||||||
pluginRef: 'SafariViewController',
|
pluginRef: 'SafariViewController',
|
||||||
platforms: ['iOS'],
|
platforms: ['iOS', 'Android'],
|
||||||
repo: 'https://github.com/EddyVerbruggen/cordova-plugin-safariviewcontroller'
|
repo: 'https://github.com/EddyVerbruggen/cordova-plugin-safariviewcontroller'
|
||||||
})
|
})
|
||||||
export class SafariViewController {
|
export class SafariViewController {
|
||||||
@ -56,17 +56,13 @@ export class SafariViewController {
|
|||||||
* Shows Safari View Controller
|
* Shows Safari View Controller
|
||||||
* @param options
|
* @param options
|
||||||
*/
|
*/
|
||||||
@Cordova({
|
@Cordova()
|
||||||
callbackOrder: 'reverse'
|
|
||||||
})
|
|
||||||
static show(options?: SafariViewControllerOptions): Promise<any> {return; }
|
static show(options?: SafariViewControllerOptions): Promise<any> {return; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Hides Safari View Controller
|
* Hides Safari View Controller
|
||||||
*/
|
*/
|
||||||
@Cordova({
|
@Cordova()
|
||||||
sync: true
|
|
||||||
})
|
|
||||||
static hide(): void {}
|
static hide(): void {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user