Merge pull request #131 from invertase/admob

Admob -> v2 Branch
This commit is contained in:
Michael Diarmid
2017-05-27 13:23:37 +01:00
committed by GitHub
18 changed files with 1050 additions and 55 deletions

View File

@@ -326,3 +326,9 @@ export function generatePushID(serverTimeOffset?: number = 0): string {
return id;
}
export function nativeToJSError(code: string, message: string) {
const error = new Error(message);
error.code = code;
return error;
}