Deployment Scripte und Ressourcen angepasst
This commit is contained in:
@@ -246,16 +246,22 @@ angular.module('starter', ['ionic','ngIOS9UIWebViewPatch','starter.controllers',
|
||||
}
|
||||
|
||||
function StoreInitsuccessHandler (result) {
|
||||
inappbilling.getPurchases(purchasessuccess, purchasesfail)
|
||||
inappbilling.getPurchases(purchasessuccess, purchasesfail);
|
||||
console.log("Store initialisiert");
|
||||
|
||||
}
|
||||
|
||||
function StoreIniterrorHandler (error) {
|
||||
console.log("Store initialisierung fehlgeschlagen.");
|
||||
window.globalVariable.adfree="";
|
||||
}
|
||||
|
||||
function purchasessuccess (result) {
|
||||
var p = result[0];
|
||||
console.log("result[0]");
|
||||
console.debug(p);
|
||||
console.log("result");
|
||||
console.debug(result);
|
||||
if(p['productId'] == 'adfree') {
|
||||
window.globalVariable.adfree="adfree";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user