I have an existing native iOS App that in production already. Now i want a flutter module to be integrated into the existing app. My flutter module works fine when run individually. I want my native app to call the flutter screen and back to the native screen from flutter. I am able to open the flutter screen from native but not vice versa.
I am a beginner in Flutter with good experience in native iOS App, i have followed the steps specified in the flutter documentation - Flutter Method Channel. Can anyone help me step wise , how to make this work.
Related
I am working on flutter module to integrate it as subpart of iOS native existing code.
I can debug flutter module when run individual on Android Studio.
I can debug iOS Native code too from xCode.
But When we integrate Flutter module with iOS Native then the role of Android Studio SDK get over.
At this point if we pass certain information from iOS native using method channel to flutter module.
How we can put a break point or debugger at flutter module to verify that certain things (functions) getting called?
i have a problem with native ads in flutter ios project i followed this documentation
https://codelabs.developers.google.com/codelabs/admob-inline-ads-in-flutter?hl=fr#7
but i have this problem when i running the app
note : the banner is working fine and the native is working fine in android enter image description here
I'm trying to implement Razorpay checkout in my ionic application using Razorpay-cordova. After installing this plugin, ios application gets stuck on its splash screen and then gets close. Although this plugin works perfectly on Android platforms.
I have done following basic steps:
Added razorpay plugin - cordova plugin add com.razorpay.cordova --save
After this I emulate this basic app just in ios simulator - ionic cordova emulate ios
I have embedded swift libraries in Xcode the razorpay.framework.
Then imported the <razorpay-swift.h> in main.m.
Result: The app gets stuck on the splash screen for few secs and then gets close. (Only on IOS. Also tested on IOS device, results in same!).
I don't know what I'm missing here?
I write flutter codes in Android studio. I using ios native codes to supply platformview integrated in flutter widget tree. But how can I debug iOS native codes?
addition: I am using iPhone simulator to debug?
You can test it by run it from XCode, here you can set breakpoint and have the same iOS native debugging experience.
Luckily run it from XCode is really easy, just open ios directory in the project and press the button to run it.
If you need more specific info let me know and I will answer you.
EDIT :
The project you need to open with XCode is:
For playing it you need to press top-left play button as in the image:
I have smaller RN application made with expo (expo-cli) and it is really annoying starting app every time using expo. What I want is to migrate to another way of starting app on my phone and with hot-reloading (if it is possible). If not, how can I start it on emulators? What changes should I do on current code?
What came to my mind is to create new RN app using create-react-native-app and move code from current app. Then install android studio for android emulator and xcode for iOS emulator etc.
But I don't know exact steps how to migrate from expo and how to setup everything work in non-expo environment, how to set up emulators, how to start app on emulators etc. Can someone explain it in details please? Thanks.
If you run an Expo project on a real device rather than an emulator on your computer,
you can recognize it on the device using the expo start command through the Expo app.
However, you should be logged in with the same ID as the Expo-cli.
googleplay App // Appplay App
If you want to run Expo on an Android studio and xcode, you need to separate the project into a stand-alone app.
You can run expo eject <= you use Expokit