All Questions
Tagged with swift ionic-framework
60
questions
0
votes
0
answers
38
views
CapacitorJS: how to share local data between WebView and iOS widget?
I am using a widget in my capacitor app (currently this question only focuses on iOS).
I want to save an integer from my webview code into Preferences and then be able to read it from the iOS widget.
...
-2
votes
1
answer
162
views
Load HTML, JS, CSS bundles locally from device in IOS app not working
How can I load a mobile website, developed using Ionic, into an existing iOS app upon a button click? I'm encountering an issue where the WebView is not functioning properly with locally stored files ...
3
votes
2
answers
1k
views
XCode Error when deploying to real device: The operation couldn’t be completed. (OSStatus error -10814.)
I am getting the following error when trying to deploy to a real IOS device with my Macbook Pro M2:
I cannot find any "select your Developer App certificate" option in the VPN & Device ...
0
votes
0
answers
182
views
Capacitor with iOS Passkey how to get registration data
I'm implementing Passkey to my Ionic app and I couldn't find any plugin out there so I'm building my own plugin. Everything works till triggering the passkey on the native iOS, but I couldn't get the ...
1
vote
1
answer
75
views
Running the function written in Ionic in Xcode Swift
I have an Ionic application. I compiled this in Xcode for iOS and it works. I also created a widget for this application. My wish is that if the application opens with the normal application icon, the ...
1
vote
0
answers
40
views
I can't use the file I saved in Directory.Documents with ionic in xcode widget
In my Ionic project, I save a base64 file as png into Documents. I want to use this in a widget in Xcode but I can't find the file. What am I doing wrong?
let pathss = ...
2
votes
0
answers
144
views
Capacitor GoogleMaps Unexpectedly found nil while implicitly unwrapping an Optional value
I'm trying to test in IOS my ionic app, using the capacitor maps to show a map in the app, in the browser it works correctly, but in native iOS devices or simulator, the maps is show this error:
...
0
votes
0
answers
335
views
ionic capacitor call typescript method from swift
I have an ionic capacitor app which has a custom native plugin. Calling the native code from TypeScript works fine, my swift code is called and the promise is returned. However I would also like the ...
0
votes
0
answers
652
views
Whitelist Redirect URL iOS in Ionic Capacitor
I am using the latest version of Ionic and Capacitor app, with Inapp Browser plugin from cordova we are able to login using android devices where the schemes and redirect back to app work fine. But ...
-1
votes
1
answer
89
views
Ionic project: communication between Swift and Typescript layers
I need some help with this problem. I have an Ionic project (v6) with Capacitor (v4.4.0) and I would like to Know if there is a way to communicate betweeen Swift layer (something happens in ...
1
vote
0
answers
242
views
Firebase Dynamic Links open angular ionic app and receive url, but can't handle url and navigate from Appdelegate.swift
The app is in ionic, angular and capacitor.
It works perfectly fine in Android, where i recieve the dynamic links in my app.component.ts function directly , but in ios the url are only in the ...
0
votes
1
answer
421
views
Take a photo from multiple cameras at the same time
Using Capacitor (preferable) or Swift/Kotlin, how can I take a photo on both the front and rear cameras at the same time? I'm looking to replicate the same functionality as the social media app BeReal....
0
votes
0
answers
86
views
Ionic6 with Xcode gives " Thread 1: signal SIGABRT " with any iPhone using <=ios12
I am using ionic capacitor to make my application, The application works normally under android and ios13+ , but with iPhone 6 or older (any iPhone using iOS12) it gives the error below
1
vote
1
answer
2k
views
Cannot find type 'WKMediaCaptureType' in scope Swift compiler error in Ionic for IOS
when I tried to compile my Ionic app to iOs using ionic cap build ios and when I try to run I have some errors.
Swift compiler error
1- Cannot find type 'WKMediaCaptureType' in scope
2- Cannot find ...
1
vote
0
answers
426
views
Can't build Ionic App for iOS with Capacitor AdMob-plus
I am currently trying to integrate AdMob-plus into my ionic/capacitor app. But I can't get it to build properly as soon as I install the AdMob-plus dependencies.
I am following the installation guide ...