Closed jaiiidiii closed 2 years ago
App is working fine on android debug mode and also in iOS but crashing on android release mode
My Implementation Future onStartCardEntryFlow(String? appID) async { // this.amountPayable = amountPayable; await InAppPayments.setSquareApplicationId(appID ?? squareApplicationId); if (Platform.isIOS) { await _setIOSCardEntryTheme(); } await InAppPayments.startCardEntryFlow( onCardNonceRequestSuccess: _onCardEntryCardNonceRequestSuccess, onCardEntryCancel: () {}, collectPostalCode: false); }
Environment (please complete the following information):
Describe the issue
App is working fine on android debug mode and also in iOS but crashing on android release mode
My Implementation Future onStartCardEntryFlow(String? appID) async {
// this.amountPayable = amountPayable;
await InAppPayments.setSquareApplicationId(appID ?? squareApplicationId);
if (Platform.isIOS) {
await _setIOSCardEntryTheme();
}
await InAppPayments.startCardEntryFlow(
onCardNonceRequestSuccess: _onCardEntryCardNonceRequestSuccess,
onCardEntryCancel: () {},
collectPostalCode: false);
}
Environment (please complete the following information):