- This project demonstrates the capability to run platform specific code in flutter app specifically for iOS.
- Platform Channels are being used to invoke the trigger of running iOS specific code written in
Swift. - Project specifically handles opening SfSafariWebView in iOS on trigger of CTA available in home screen of app. Ref :
main.dart - Once the web view is opened, it can be closed porgramatically depending upon the call back received from web js.
- In order to test out the app, clone the repo and update the following in project :
- replace the URL with your actual URL which should consist
chat_id,auth_token,app_idinopenSafari()method undermain.dartfile. - update your package id under
CFBundleURLSchemes tagin info.plist file under iOS folder. Ref:/main/ios/Runner/Info.plist.
Screen.Recording.2024-02-13.at.6.38.59.PM.online-video-cutter.com.mp4
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.