Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Native modules in React Native
Search
Jénaïc Cambré
November 08, 2016
Programming
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Native modules in React Native
Jénaïc Cambré
November 08, 2016
Other Decks in Programming
See All in Programming
ChromeでローカルLLM
ryu1013
0
140
sbt 2.0: takeoff
eed3si9n
0
160
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
390
AWSに止められる覚悟してますか?
morizo_1984
2
530
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
150
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
1.1k
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
290
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
180
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
220
コーディング自動化の次へ。人の介入をゼロにするファクトリーとサポートAIによる実践
timakin
4
3.5k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
750
JIS keyboard support in Omarchy
lef237
0
110
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
Making Projects Easy
brettharned
120
6.8k
Rails Girls Zürich Keynote
gr2m
96
14k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
890
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
750
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
450
Abbi's Birthday
coloredviolet
4
10k
Speed Design
sergeychernyshev
33
2.2k
Accessibility Awareness
sabderemane
1
250
Building Adaptive Systems
keathley
44
3.2k
Transcript
Native modules in React Native
Jénaïc Cambré • Software architect • AS3, Javascript • PHP,
Node.JS • Phonegap, Titanium
Dating app
Disclaimer • Developers • Project managers
Native modules What? When? How?
Bridge What?
RN architecture https://speakerdeck.com/felipecsl/react-native-at-airbnb What?
Modules vs. UI components What?
Native modules What? When? How?
When? Not in core SDK Migration
Not in the core • I18n • Device info •
Share • 3D Touch • Access external storage When?
Community When?
SDK • Reuse a service API • Push Notifications -
OneSignal • Firebase • Twitter Fabrics When?
Migration When?
Native modules What? When? How?
Data types Javascript iOS Android string NSString String boolean BOOL
Boolean number NSInteger, NSNumber, etc… Integer, Double, Float, etc… object NSDictionary ReadableMap (HashMap) array NSArray ReadableArray (ArrayList) Function/ Promise RCTResponseSenderBlock Callback How?
Example - iOS How?
Example - iOS How?
Example - iOS Build Settings => Header Search Path How?
Example - Android How?
Example - Android How?
Example - Android How?
Example - Android How?
react-native link
Example - RN How?
Example - RN How?
iOS API • RCT_EXPORT_MODULE() • RCT_EXPORT_METHOD() • constantsToExport • Events
• @objc (Swift) How?
Android API • ReactContextBaseJavaModule class • getName() • @ReactMethod •
getConstants() • Events • createNativeModule() How?
Personal experience • Doc & Github • Build failing •
RNPM for free • Convention RN<Module> • Wrong arguments – Wrap module How?
Summary • Based on RN architecture • Not necessary •
Knowledge of native environment • Limitless How?
Questions? Github: @kadiks Twitter: @kryptonikco Blog: kryptonik.net