question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue with complicated native app

See original GitHub issue

Hi 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:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
DenisLebedinskycommented, Jun 10, 2019

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.

0reactions
petterhcommented, Jun 10, 2019

ActivityStarterModule is not a react package. Try ActivityStarterReactPackage instead.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found