How to debug flutter module from iOS native? - ios

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?

Related

Flutter app not working after integration with existing native app

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.

Use React Native (0.60.4) in an iOS Share Extension

As the title implies, I tried to load a React Native application (version 0.60.4) in my native iOS Share Extension but got the following error: sharedApplication is unavailable: not available on iOS (App Extension)
It seems React-Core (and other libraries like FBSDK) are using sharedApplication which isn't known inside the Share Extension 'architecture'?
I have tried using this sample project but it doesn't compile out of the box.
It uses React Native v0.15 which perhaps worked at the time.
Does anyone have an idea how to implement the latest React Native version inside an iOS Share Extension?

See console.log from React Native app in Xcode when running on device

Am building a React Native app and testing on IOS. Have to run it on device as am using voice recognition modules.
My usual debugging method is to use console.log to print out variables as I go along but they are not being displayed in Xcode debugging output area in Xcode 9.4.1.
Current work around is to show my variables on the app in a component - but this isn't so flexible!

What is the role of RCTSRWebSocket in iOS version React Native?

I saw 'RCTSRWebSocket' in iOS version React Native project, but I can't find any 'import' of this lib in whole project. so what's the role of RCTSRWebSocket in React Native? I guess it's be used to connect Terminal and Simulator?
It's one of the fundamental native modules of React Native.
It's used for dual simultaneous communication, at least, with the bundler service.
Android also has this module (Java implementation) for the same purpose.

Skype for Business App SDK on iOS - Why does SfBApplication.sharedApplication return nil/null?

When I retrieve SfBApplication.sharedApplication in viewdidload of my iPhone app's main view controller, I get nil/null but no errors or log info.
What could be causing this?
Specifically I would like to know if the SDK code contains cases when it returns nil here but does not raise an error.
Context: I am using the SDK in the iPhone simulator, and I am accessing the simulator version of the SDK framework from Xamarin - I have created Xamarin iOS bindings for the native framework. I have already seen the SDK working in the iPhone simulator in an Objective-C App.
Solved it myself: this was a problem with the build tools for Xamarin iOS binding projects in Visual Studio.
When I built the same Xamarin iOS Bindings project in Xamarin Studio on the Mac, the SfB App SDK worked - including video calling in the iPhone Simulator.
Lesson learned: create iOS binding projects in Xamarin Studio, on the Mac.

Resources