react-native-native-module Questions
0
I'm trying to build a react-native wrapper module for the official Spotify SDK, using expo-modules. I've added the SDK in my .podspec file using s.vendored_frameworks. Example app's project pre-bui...
Graves asked 20/4, 2023 at 7:57
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...
Braid asked 1/7, 2021 at 16:9
3
Solved
I know this kind of question has been asked before but they are related to third party libraries, mine is related to requireNativeComponent
I have created a React Native Component from a Native iOS...
Myxomycete asked 15/8, 2020 at 10:54
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
0
I want to track user's overall app usage time (other apps) in React Native.
I found android.app.usage that tracks exactly what I want.
Is it possible to use 'android.app.usage' in React Native? or ...
Shorten asked 23/2, 2021 at 5:53
2
Solved
It's clear to me that for react-native native modules we can use the @ReactMethod to export a method and call it from JSX, but how do we do the same thing in react-native native UI components?
In ...
Verleneverlie asked 22/11, 2017 at 17:25
1
I'm building react-native app which has some native android modules in it.
In MainApplication.java,
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
n...
Taste asked 22/4, 2018 at 3:45
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...
Macleod asked 13/9, 2019 at 20:24
1
In React Native project I want to access the Presented Viewcontroller from iOS npm module. I'm able to access the rootviewcontroller of the RN project using the below code
UIViewController *vc = [...
Onetime asked 12/12, 2017 at 4:52
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...
Hynes asked 5/7, 2017 at 8:0
1
Solved
I'm creating a custom react-native module and I have this custom type in a swift file
VideoTrimmer.swift
typealias TrimCompletion = (Error?) -> ()
how do I import or reuse it in a file with o...
Sowers asked 10/12, 2017 at 18:26
1
© 2022 - 2024 — McMap. All rights reserved.