add browserInit(), closes #160

This commit is contained in:
Ibrahim Hadeed 2016-06-09 09:47:45 -04:00
parent 4fdcbb5726
commit 62286db249

View File

@ -85,10 +85,15 @@ import {Plugin, Cordova} from './plugin';
})
export class Facebook {
// @Cordova()
// static browserInit(appId: number){
// return new Promise<any>((res, rej) => {});
// }
/**
* Browser wrapper
* @param appId
* @param version
*/
@Cordova()
static browserInit(appId: number, version?: string): Promise<any> {
return;
}
/**
* Login to Facebook to authenticate this app.