47 questions
0
votes
0
answers
13
views
react-native-sound setCategory is not a function
I am updating an old project. I have installed new react-native and new modules. However, I am getting an issue with react-native-sound:
[runtime not ready]: TypeError: _$$_REQUIRE(_dependencyMap[14],...
0
votes
1
answer
164
views
Pure turbo c++ module for react native
I'm working on a react native module for a few days now and planned on making full use of the pure c++ native modules (https://reactnative.dev/docs/the-new-architecture/pure-cxx-modules).
I have the ...
1
vote
0
answers
359
views
How to build android widget for a React Native and Expo app
I have a considerably large and complex app built in react native and Expo, I have attempted to implement widgets for both ios and android, developing on a mac and I've ran into some issues with ...
0
votes
1
answer
67
views
React Native - Native Modules unavailable outside of App
I have a problem of accessing NativeModules.OverlayModule using react-native.
In App.tsx it shows data, in LeftSidebar.tsx it is empty.
I use LeftSidebar as overlay on top of other apps.
here is the ...
2
votes
2
answers
405
views
How to Open Native Android Activity Without Creating a New Instance in React Native?
I have a Kotlin-based native Android chat app that I want to integrate into my React Native project as an android library. The React Native app has a bottom tab bar with four tabs, one for accessing ...
0
votes
1
answer
146
views
React Native Error: Module not found (I did't not have any ReactNative experience before)
I just new learner in AWS and I need the React Native to work on together to upload the image in react native interface and compare it but I did not have any experience with React Native. When I move ...
1
vote
0
answers
314
views
Emit event from other class than native module class from android to react-native
i have CameraModule.kt which is android native module and CameraHomeFragment in a react-native app. And i need to send some data from the fragment to react-native
CameraModule.kt :
class CameraModule(...
1
vote
1
answer
610
views
How to access ReactContextBaseJavaModule from both, a react native file (*.js) and a Kotlin class (*.kt)?
I am new to React Native and working on an application which stores local data using Android SharedPreferences. I currently have SharedPreferences setup as ReactContextBaseJavaModule and am able to ...
1
vote
0
answers
113
views
"_ setUrl: unrecognized selector sent to instance" setting the url property to the Swift Publisher
I want to set the url variable that Published in Swift
Error:
2022-12-15 21:55:27.837982+0100 WebviewIosExample[23481:8227336] [native] Error setting property 'url' of WebView with tag #7: Exception ...
0
votes
0
answers
780
views
Expo and React Native - Context must be application context to avoid memory leak
I'm trying to implement a Visa SDK through React Native's Native Modules. I'm currently using Expo 46. So far, the application is registered correctly, and I can view the 3 methods that are exposed ...
1
vote
0
answers
1k
views
How to import a local react native library that contains native Android and iOS code
I used create-react-library to create a library that contains both native Android and iOS code. This library is not published and I want to use it in another react native project. So I copied the ...
0
votes
2
answers
4k
views
How to create react native wrappers for native android and iOS SDKs
I am creating a React Native module as a wrapper for existing Android and iOS libraries. The Android library is a jar file and the iOS library is xcframework file. I put the xcframework file inside ...
0
votes
1
answer
802
views
React Native Module | ASWebAuthenticationSession error on swift but not in Objective C
I'm working on a react native library including auth processes, So I chose ASWebAuthenticationSession to do it.
My first step for this RN library was to develop natively first(in Swift). And when I ...
2
votes
0
answers
1k
views
React Native {NativeModules} not importing on M1/Silicon mac - returning empty object {}
I am attempted to create a React-native 'Native Module' (BankedSdk) in a project developed on an M1 Macbook. - However any attempt to initialise the module returns an empty object.
This is the example ...
4
votes
1
answer
4k
views
Material Community Icons are undefined
I've been having this problem for a really long time now. I'm really hoping someone has overcome this issue.
We already have an app that is being developed, but we have decided to build micro-...
3
votes
1
answer
2k
views
Pass onPictureInPictureModeChanged result into a react native module
I am trying to do some picture in picture mode using react-native. I wrote a react module
I need to generate something similar to this but inside the react native module
public class MainActivity ...
2
votes
0
answers
352
views
How to add an extra module for bridge on iOS?
I have created a new native module in my React Native application (It's called RCTAVAudioSessionModule).
When looking in the AppDelegate I found this code snippet:
- (NSArray<id<RCTBridgeModule&...
2
votes
1
answer
3k
views
RN module in Swift can not get param
I am implementing my own module and I have a problem with passing params into function in swift. That function should return Promise. And it always crashes with this error
Exception 'getPassesOf: is ...
0
votes
1
answer
1k
views
Making React Native iOS Native Module to use Garmin SDK
So I'am trying to implement the Garmin iOS SDK in a native module to connect a Garmin watch to my react native app. I have done all what the docs say for creating a native module and I'am able to ...
4
votes
0
answers
235
views
How to combine different react native bundles in existing native app
I am working on an existing native app where three different partner companies are working so three different react-native modules.
Here the problem is when they are creating a javascript bundle, it ...
1
vote
0
answers
155
views
Not able to trigger delegate methods from a framework in react native modules for iOS applications
I am writing a react native project where I am trying to connect to a BLE device using BGXpress library via an iOS Application using react-native-modules.
I have been able to successfully discover the ...
2
votes
0
answers
131
views
NativeModules.CallDetectionManagerAndroid is null
I try to use the package "react-native-call-detection" in my react-native project.
But I got a problem. CallDetectorManager does not start listening to incoming calls.
And i found the ...
2
votes
1
answer
625
views
React Native module - Best practice to store java class
I'm building a React Native module with Kotlin. I have an external Java SDK that can discover peripherals on multiple protocols / networks / servers.
There is a Discovery class like this :
class ...
2
votes
2
answers
4k
views
GetElementById equivalent in React Native
I am working on creating a module for React-Native.
The module needs to highlight or point out certain elements on the screen based on configuration stored in a DB.
In Android, our database would ...