Issue with complicated native app
See original GitHub issueHi Petter,
I tried your demo and tried your code with a simple native android app (react native demo). I was able to call a native activity from react native. However, when I tried to apply it to a more complicated native app, it started give me this error:
Cannot read property 'dialNumber' of undefined
I’ve tried really everything. I made the package.json file almost the same as yours. I changed the setttings in build.gradle as yours as well.
I just tried another not-too-complicated app and it didn’t work. https://github.com/anky21/Integrate-React-Native-in-Android
Is it possible that some libraries are interfering with React Native? Or the project has to be created through react-native init
? What do you think the problem can be?
Cheers
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
The hardest parts of cloud-native app development - Protocol
The biggest challenge about getting cloud-native application development right is reliability. People often think that when you move into a ...
Read more >The Pros and Cons of Native Apps | Clutch.co
Native apps are responsive and easy to use, but are they the right kind of app for ... The time increases based on...
Read more >Mobile Web App vs. Native App? It's Complicated - Forbes
Unfortunatly, the debate is more complicated than it looks. ... Native apps, which are coded with a specific programming language ...
Read more >10 Mistakes to Avoid When Developing React Native Apps
1. Dependency on Native app developers · 2. Limitations in Abstraction Layer · 3. Zero support for multiprocessing or parallel threading · 4....
Read more >Pros and cons of native app development - DECODE
Another big drawback of native apps is that they require an equally expensive maintenance phase. They can result in your maintenance costs ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you for fast answer, but i found resolve in your stack’s answer. =)
https://stackoverflow.com/questions/42253397/call-android-activity-from-react-native-code/56522460#56522460
I create ActivityStarterReactPackage, and it resolved my problem.
ActivityStarterModule
is not a react package. TryActivityStarterReactPackage
instead.