списание бонусов при покупке(часть)
This commit is contained in:
@@ -144,6 +144,7 @@ startScanner(BuildContext context, String app, SqliteHelper helper) async {
|
||||
String userString = call.arguments[0];
|
||||
print(userString);
|
||||
String card = call.arguments[1];
|
||||
print('$userString, $card');
|
||||
var route = new MaterialPageRoute<Null>(
|
||||
builder: (BuildContext context) =>
|
||||
new PurchaseScreen(helper, app, userString, card));
|
||||
@@ -155,7 +156,7 @@ startScanner(BuildContext context, String app, SqliteHelper helper) async {
|
||||
});
|
||||
|
||||
platform.invokeMethod('startScanner', {
|
||||
'token': await platform.invokeMethod('getAppToken'),
|
||||
'token': token,
|
||||
'url': await platform.invokeMethod('getEndpoint'),
|
||||
'appToken': await platform.invokeMethod('getAppToken'),
|
||||
'locale': Intl.defaultLocale,
|
||||
|
||||
Reference in New Issue
Block a user