All Questions
Tagged with objective-c javascript
1,162
questions
0
votes
0
answers
35
views
Sandboxed macOS app not able to launch the PiP window via Javascript, why?
I have a macOS app which has a WKWebView which can load sites and if they have a video player, it can show the native PiP video window which the app invokes via a Javascript action to the WKWebView. ...
3
votes
1
answer
77
views
Module 'SquareReaderSDK' not found in IOS (React Native)
I'm encountering an issue with integrating the SquareReaderSDK into my iOS project. Despite following the documentation and ensuring that I've properly added the SDK to my project, Xcode still reports ...
0
votes
0
answers
43
views
Zoom meeting ios SDK is not working while bridging from react native
In obj C, I have added a UIViewcontroller from which zoom sdk will be intiated in viewDidLoad method as below,
// ZoomViewController.m
@implementation ZoomViewController
- (void)viewDidLoad {
[super ...
0
votes
0
answers
21
views
iOS/Xcode Issue: Duplicating Results on First In-App Purchase and Freezing App on Second Attempt
Dear StackOverflow Community,
I'm encountering a perplexing issue with my iOS app that involves In-App Purchase functionality. Despite thorough examination of the code, including a snippet provided ...
0
votes
0
answers
101
views
getting function imported correctly in android but in ios gettting import value is null in react native module
While building this react-native module, i'm getting the function imported correctly in android and i'm able to get the result correctly but in ios when i log the default import i get null.
App.tsx (...
0
votes
1
answer
123
views
How can I page through an e-Book using WKWebView
I've danced around this question previously, asking specific questions which I hoped might lead me to the next step in solving the larger problem. That didn't work (no answers), so this is the larger ...
0
votes
1
answer
120
views
How can I read ObjC pointer to pointer (**) using Fida Javascript APIs?
This is my index.js
const className = 'NSURLConnection'
const methodName = 'sendSynchronousRequest:returningResponse:error:'
Interceptor.attach(ObjC.classes[className][`+ ${methodName}`]....
0
votes
1
answer
411
views
How can I read a NSDictionary using Frida Javascript APIs?
This is my index.js
const className = 'NSURLConnection'
const methodName = 'sendSynchronousRequest:returningResponse:error:'
Interceptor.attach(ObjC.classes[className][`+ ${methodName}`]....
1
vote
0
answers
385
views
RNFIREBASE MESSENGER push notification not working on iOS
I m working on push notification RN firebase, I have followed the rnfirebase documentation, I get the remote message in console.log but not displaying the notifcation on the xcode simulator.
Below are ...
0
votes
1
answer
36
views
Enforcing Line Breaks \n In Objective C
In Objective C I'm using the loadHTMLString to load a HTML string that has been inserted with a variable for JS. However, the string \n is not being included in the script.
For example, the code to be ...
0
votes
1
answer
137
views
I am getting mismatch argument error on React native
I am trying to build an iOS app written in react Native but it has a Native SDK bundled into it.
On the React native side I have this :-
The message is a text input field.
<Button
...
6
votes
1
answer
2k
views
React-Native Module in Swift with async function throws is not a recognized Objective-C method
I am trying to export a swift module according to react-native's documentation but I run into the following error when I try to call this function in my javascript file. I believe the issue has to do ...
0
votes
1
answer
1k
views
How to detect press volume buttons in IOS ReactNative
I am doing iOS react-native app. App is video player, which can connect to ChromeCast. I have a task to control ChromeCast volume with iPhone volume buttons. Does anyone know how to do it in react-...
1
vote
0
answers
252
views
Why native function written in objective C is is not returning anything?
I am trying to get output from native function to use in frontend, here is the function,
RCT_EXPORT_METHOD(getActiveAudioDevice:
resolver:(RCTPromiseResolveBlock)resolve
...
0
votes
0
answers
685
views
Get list of window names for all running applications
Using the following block of code
Application("System Events")
.applicationProcesses.where({ backgroundOnly: false })()
.forEach((app) => {
app.windows().forEach((window) => {
...