native-module Questions

2

I have just started my NodeJS course, the lecture was recorded at the time of NodeJS version 10 (on a mac). I'm on Windows, it is now version 16. The lecture does not contain this page of the insta...

2

I'm using the package react-native-localize to provide localization in an app. I've already linked the library and it works fine running on a device. Issue: When I test a component that imports r...
Lymphangial asked 5/4, 2020 at 15:44

3

Is there a way to scan and all get Wifi list using react native for Android and iOS. I have seen a few libraries but mostly for android and even those doesnt work properly. Any suggestions? If I ...
Baccalaureate asked 1/2, 2018 at 21:33

3

Solved

So, I am practicing making native modules in Java that can have functions exposed to the JavaScript code of React Native. For that, I decided to go for a simple demo math library. My code is as fol...

1

C++ native module's std::cout console message don't get printed on console once module gets build. Is there any way to print runtime std::cout messages on console AND then we can catch those mess...
Plumate asked 31/3, 2020 at 16:16

3

Solved

Trying to create my first npm module in order to determine if a user is on the phone. It's for a React Native app. No matter what I try, the module returns undefined. NativeModules always appears t...
Sipe asked 29/8, 2017 at 23:46

1

I am new to react and working on react bridging modules. I just want to know that how the RCTConvert is useful and how can use that. I am following this site link Please, anyone helps me to know a...
Desiredesirea asked 15/9, 2016 at 5:51

5

I am working on one React Native Application and trying to access the Native Module from the android. I am following this official documentation enter link description here After creating the Nati...
Kathiekathleen asked 30/1, 2020 at 21:3

2

Solved

I have some experience with React but I'm new to React Native. I've played around for a while, but I got stuck when I tried to write a basic native module for iOS. I've tried with both Swift and Ob...
Spreadeagle asked 22/2, 2018 at 16:24

1

I'm using React Native 0.60.5 and am linking this module. It says that for React Native 0.60+, "CLI autolink feature links the module while building the app", so all we need to run is yarn add @rea...

1

Having issue with defining a native module from the tutorial in https://facebook.github.io/react-native/docs/native-modules-ios.html. #import "CalendarManager.h" #import <React/RCTLog.h> @i...
Puckett asked 7/6, 2018 at 23:15

2

I'm following ReactNative Native Module Guide to write the java class that can be used in JS side. The exported method is show from class ToastModule(exported as ToastAndroid). The show method is b...
Cretinism asked 24/8, 2017 at 3:0

3

Solved

I am writing a react native app to get IOS and Android Battery status. I search through the net and found few libraries which can get battery level of the phone. https://github.com/robinpowered/r...

2

Solved

I'm writing this to answer my own question because the docs don't explicitly state this and I couldn't find it on stack overflow or anywhere else. Here is how to return a String array from a Java m...
Neolith asked 25/9, 2017 at 21:32

1

Solved

I have a react-native app and want to integrate it with native SDK. At some point I need to call js function which will return me data, and this call I should make from native side. Here is the flo...
Lipkin asked 14/10, 2017 at 10:9
1

© 2022 - 2024 — McMap. All rights reserved.