Questions tagged [native-module]

84 questions
0
votes
1 answer

Attempting to link a native module using electron-webpack

I wrote a native module in c++ using the v8.h headers and I want to import it in my electron app. The module works fine. I compile it in it's own folder, then I copy-paste the .node into this boilerplate…
BiA
  • 304
  • 1
  • 5
  • 21
0
votes
1 answer

Unable to import native nodejs module in electron project

I'm working on an open source electron project which I am building using webpack. One requirement for my project is to use the nodegit library which has to be built as a native module. I've followed what appears to be conventional advice when…
Alexander Trauzzi
  • 6,481
  • 10
  • 53
  • 93
0
votes
0 answers

Having issues with an iOS react native native module using a CocoaPod

I'm creating a native module wrapper for the Google Nearby Messsages API. I've installed the api using these instructions https://developers.google.com/nearby/messages/ios/get-started I then published the project to npm and created an example…
0
votes
2 answers

Android Native to React Native bridge

I've been searching on how to make a bridge between React Native and Android Native code for a while, but I still don't quite get it. I've read the documentation here , but I don't quite understand it. What I want to do is, I want to build an apps…
Richard
  • 140
  • 1
  • 10
0
votes
1 answer

How do i use onHostDestroy() in a react-native android native module to destroy a device listener

I bridged a java module to react native that uses the earphone jack to listen for peripheral devices. The module needs to be destroyed after the app is closed or else it throws NullPointerException when the app is opened again. In its original form,…
0
votes
1 answer

Customized Android Modules for React Native

I'm having a hard time deciding how to go about to include this sample app inside my react native app for video converting.I figured out i have to implement react-native module for this android code but in this case these lib files make it…
0
votes
1 answer

Call exported method in react native

I want to create a view in Objective C and use in react native, but don't know how to do this Here's my code: Obj-C: #import "DGTAuthenticateButtonView.h" #import "RCTBridge.h" #import "RCTEventDispatcher.h" #import "UIView+React.h" #import…
maphongba008
  • 1,426
  • 3
  • 17
  • 27
0
votes
1 answer

How to use RCTRootView in a view controller?

I am working on react native iOS app(demo). And new to the react native. I want to know about the RCTRootView i.e how it is work. And I have a doubt i.e. in the app delegate the root view is created default. If I added another root view in my view…
Ramakrishna
  • 643
  • 6
  • 21
0
votes
1 answer

Parse a Multi Form Mime Type's Content Disposition Fields

I am writing a native module in C++ for IIS7/8 whose purpose is to reject file uploads coming into IIS with specific extensions. I have gotten the Module working using OnReadEntity and can see the request body on the post request uploading the…
Ryan Mann
  • 4,820
  • 25
  • 40
1 2 3 4 5
6