Show version name in settings, fix progress bar when purchase ended wit error
This commit is contained in:
@@ -98,19 +98,21 @@
|
||||
[controller presentViewController:modalViewController animated:YES completion:nil];
|
||||
} else if ([@"isOnline" isEqualToString:call.method]) {
|
||||
result(@YES);
|
||||
} else if ([@"getSupportPhone" isEqualToString:call.method]) {
|
||||
} else if ([@"getSupportPhone" isEqualToString:call.method]) {
|
||||
result(buildSettings[@"supportPhone"]);
|
||||
} else if ([@"getSupportUrl" isEqualToString:call.method]) {
|
||||
result(buildSettings[@"supportUrl"]);
|
||||
} else if ([@"getEndpoint" isEqualToString:call.method]) {
|
||||
} else if ([@"getEndpoint" isEqualToString:call.method]) {
|
||||
result(buildSettings[@"endPoint"]);
|
||||
} else if ([@"getAppToken" isEqualToString:call.method]) {
|
||||
} else if ([@"getAppToken" isEqualToString:call.method]) {
|
||||
result(buildSettings[@"appToken"]);
|
||||
} else if ([@"getAppTitle" isEqualToString:call.method]) {
|
||||
} else if ([@"getAppTitle" isEqualToString:call.method]) {
|
||||
result(buildSettings[@"appTitle"]);
|
||||
} else if ([@"showBonus" isEqualToString:call.method]) {
|
||||
} else if ([@"showBonus" isEqualToString:call.method]) {
|
||||
result(buildSettings[@"showBonus"]);
|
||||
} else {
|
||||
} else if ([@"getVersionName" isEqualToString:call.method]) {
|
||||
result([[NSBundle mainBundle] objectForInfoDictionaryKey: @"CFBundleShortVersionString"]);
|
||||
} else {
|
||||
result(FlutterMethodNotImplemented);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user