Replies: 2 comments 1 reply
-
There isn't enough information, but my guess is, since Capacitor plugins are CocoaPods libraries, you are not distributing the .xib file correctly. |
Beta Was this translation helpful? Give feedback.
1 reply
-
With much trial and error. Here is my solution: First I needed to add the resource_bundle to the pod spec
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm writing a custom navigation plugin using ARCGis iOS sdk. Our previous version of the app used Cordova, so the swift code is tested and works. I followed the instructions in the capacitor docs on how to open a view controller from your plugin code. What's happening is that the simulator screen goes black when I call the viewController from the plugin. Execution returns from the plugin method. I have breakpoints set in the controller viewDidLoad() and viewDidAppear(), but the view never displays. My @IBOutlet variables are nil. So, it seams like there is a disconnect between my controller and the xib file. But everything looks good in the Xcode Interface builder.
I used an UIAlertController in place of my NavigateRouteViewController and the alert box appears on top of my ionic web view as expected.
Beta Was this translation helpful? Give feedback.
All reactions