Open
Description
Description
On Android, in some instances, I get the
Webpage not available:
The webpage at https://ravemodal-dev.herokuapp.com/... could not be loaded because:
net::ERR_NAME_NOT_RESOLVED
Steps to Reproduce
final flCustomer = fl.Customer(
name: customer.username.toString(),
phoneNumber: customer.phoneNumber.toString(),
email: customer.email.toString(),
);
final flutterwave = fl.Flutterwave(
context: context,
publicKey: '<public-key-here>',
currency: 'NGN',
redirectUrl: '<app-url-here>',
txRef: '<app-name_purchase_${orderId}_${order.customerId}>',
amount: order.totalPrice.toString(),
customer: flCustomer,
paymentOptions: "ussd, card, barter, nqr",
customization: fl.Customization(
title: '<title-here>',
description: '<description>',
),
isTestMode: !true,
);
final response = await flutterwave.charge();
Actual behaviour:
The output should be the checkout page
Configuration
- flutterwave_standard 1.0.8
- Environment: Test mode
- Browser: Chrome
- Language: Dart
Additional Information
flutter doctor -v
[✓] Flutter (Channel stable, 3.10.6, on macOS 13.4 22F66 darwin-arm64, locale en-NG)
• Flutter version 3.10.6 on channel stable at /Users/my-user/development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision f468f3366c (6 weeks ago), 2023-07-12 15:19:05 -0700
• Engine revision cdbeda788a
• Dart version 3.0.6
• DevTools version 2.23.1
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
• Android SDK at /Users/my-user/Library/Android/sdk
• Platform android-33, build-tools 33.0.0
• ANDROID_SDK_ROOT = /Users/my-user/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14A400
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
[✓] VS Code (version 1.81.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.70.0
[✓] Connected device (4 available)
• TECNO CI6 (mobile) • adb-085452527M005247-7kdqxq._adb-tls-connect._tcp. • android-arm64 • Android 12 (API 31)
• sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 12 (API 32) (emulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 13.4 22F66 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 102.0.5005.61
[✓] Network resources
• All expected network resources are available.