Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Using Android /iOS native code In a React Nati...

Using Android /iOS native code In a React Native app

Do you fear that the current React Native ecosystem doesn’t fit your needs? Or maybe you already have native apps and want to reuse part of your code while moving to React Native?

React Native offers a better future for hybrid apps by wrapping its native components. It’s really easy to create native modules in android or iOS, and to use them in a React Native app. In this lightning talk, we will discover how to create a native module with React Native, with a concrete use case: downloading a music playlist for offline playback. We will use Kotlin and Objective-C for that. Fanny will share with you our experience with React Native at 7digital, what we’ve learnt, why we prefer React Native to Cordova, and what could be improved.

Avatar for DEMEY Fanny

DEMEY Fanny

August 10, 2018
Tweet

Other Decks in Technology

Transcript

  1. “Not a mobile web app, an HTML5 app, or a

    hybrid app. You build a real mobile app that's indistinguishable from an app built using Objective-C or Java”
  2. JS

  3. Why developing its own bridge with React Native ? •

    Access native API • Integrate a native SDK • Performance
  4. Events % of download progression ? Current track playing time

    ? Any action on the lock screen player ?