Skip to content

Commit

Permalink
fix(safari-view-controller): fix wrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
ihadeed committed Jul 17, 2016
1 parent d03ff96 commit b4b3ec0
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/plugins/safari-view-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import {Plugin, Cordova} from './plugin';
@Plugin({
plugin: 'cordova-plugin-safariviewcontroller',
pluginRef: 'SafariViewController',
platforms: ['iOS'],
platforms: ['iOS', 'Android'],
repo: 'https://github.com/EddyVerbruggen/cordova-plugin-safariviewcontroller'
})
export class SafariViewController {
Expand All @@ -56,17 +56,13 @@ export class SafariViewController {
* Shows Safari View Controller
* @param options
*/
@Cordova({
callbackOrder: 'reverse'
})
@Cordova()
static show(options?: SafariViewControllerOptions): Promise<any> {return; }

/**
* Hides Safari View Controller
*/
@Cordova({
sync: true
})
@Cordova()
static hide(): void {}

/**
Expand Down

0 comments on commit b4b3ec0

Please sign in to comment.