Questions tagged [react-native-modules]

41 questions
0
votes
0 answers

Create React Native module which Works on both Expo and Natively

So basically, the title says it all. I want to create a React Native Module(Library) which can be used in Expo Projects or Native ones. Is this possible?
0
votes
0 answers

Storing reference of the `RCTResponseSenderBlock` react-native IOS, application crashes

I am trying to store the reference of the RCTResponseSenderBlock to use it letter // declaration @interface AppDelegate() @property (nonatomic, strong) RCTResponseSenderBlock callback; @end // exporting @implementation…
Sultan Ali
  • 2,497
  • 28
  • 25
0
votes
2 answers

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 the ios folder, and the jar file inside…
0
votes
1 answer

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 started this new library it cames with both…
0
votes
1 answer

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-frontends to strip out some features into separate…
0
votes
1 answer

Modul should show modal/UIViewController in main thread but it doesnt work without delay

I trying to present UIViewController in my React native app from Swift module I am presenting it like this let screen = UIApplication.shared.windows.filter {$0.isKeyWindow}.first screen?.rootViewController?.present(payController!, animated:…
Lukáš Šálek
  • 1,265
  • 2
  • 19
  • 38
0
votes
0 answers

Wrap Native project with React Native

I want to use a complex native project (https://github.com/SiliconLabs/wireless-xpress) in react native and because i cant recreate the functionality, i want to try and integrate react native on the existing one but i have no idea how to implement…
0
votes
1 answer

Hello guys,How to implement PiP (Picture-in-picture) video on React Native Home Button Pressed ? I cannot show correctly PiP Video in React Native

When I pressed android home button,play pip video via native modules and pass video url and current duration of video and Native Module accept that parameter and intent to Video Activity.Inside Video Activity OnCreate method,I try to show PiP…
0
votes
1 answer

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 initialize and start scanning (this does not throw…
0
votes
1 answer

Can not add Android Native Module to React Native project

I have a task where I need to add a Native functionality to the React Native project for Android devices. I have followed this [tutorial][1], which is pretty straight-forward. But unfortunately, I still can not access my Native functionality from JS…
0
votes
1 answer

Module RCTLog is not a registered callable module, Module AppRegistry is not a registered callable module, Module RCTDeviceEventEmitter is not

I followed this tutorial to create my react native library with Native Module. I need to use a mobile SDK developed from BROTHER to use their printers in one of my REACT-NATIVE app. The library that I wrote works great, and I'm able also to test in…
1 2
3