I’ve added razorpay package deal and it was displaying in full display screen. After that i added, firebase auth, google check in, fb signin. Submit these updates the razor pay cost display screen is shrunk to the center portion as proven within the picture.
Podfile
# Uncomment this line to outline a worldwide platform on your undertaking
platform :ios, '12.0'
# CocoaPods analytics sends community stats synchronously affecting flutter construct latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
undertaking 'Runner', {
'Debug' => :debug,
'Profile' => :launch,
'Launch' => :launch,
}
def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.be a part of('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
except File.exist?(generated_xcode_build_settings_path)
elevate "#{generated_xcode_build_settings_path} should exist. In the event you're working pod set up manually, make certain flutter pub get is executed first"
finish
File.foreach(generated_xcode_build_settings_path) do |line|
matches = line.match(/FLUTTER_ROOT=(.*)/)
return matches[1].strip if matches
finish
elevate "FLUTTER_ROOT not present in #{generated_xcode_build_settings_path}. Strive deleting Generated.xcconfig, then run flutter pub get"
finish
require File.expand_path(File.be a part of('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
flutter_ios_podfile_setup
goal 'Runner' do
use_frameworks!
use_modular_headers!
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
goal 'RunnerTests' do
inherit! :search_paths
finish
finish
post_install do |installer|
installer.pods_project.targets.every do |goal|
flutter_additional_ios_build_settings(goal)
goal.build_configurations.every do |config|
config.build_settings['ENABLE_BITCODE'] = 'YES'
config.build_settings['SWIFT_VERSION'] = '5.0'
finish
finish
finish
Technique i take advantage of to open razorpay display screen
Future makePayment(String orderId, double whole) async {
Razorpay razorpay = Razorpay();
var choices = {
'quantity': (whole * 100).spherical(),
'forex': 'INR',
'title': 'kaushik chandru',
'description': 'Automobile Reserving',
'prefill': {
'contact': '123456789',
'e mail': '[email protected]',
},
'send_sms_hash': true,
'retry': {'enabled': true, 'max_count': 1},
'key': 'rzp_test_rrrrrrr',
};
razorpay.on(Razorpay.EVENT_PAYMENT_ERROR, handlePaymentErrorResponse);
razorpay.on(Razorpay.EVENT_PAYMENT_SUCCESS, handlePaymentSuccessResponse);
razorpay.on(Razorpay.EVENT_EXTERNAL_WALLET, handleExternalWalletSelected);
razorpay.open(choices);
}
i attempted deleting Pods, .symlinks, Podfile.lock and put in pod once more however similar outcome. This occurs in ios simulator