How to build an Expo Library using Native Modules

preview_player
Показать описание
A tutorial on how to create native modules using Expo!

Device:
* Android 13 Pixel 7
* iOS 16 iPhone X

=========================
00:00 Introduction
01:33 Set up the Project
06:57 Android Implementation
14:14 Android Result
14:48 iOS Implementation
17:22 iOS Result
Рекомендации по теме
Комментарии
Автор

So glad someone’s made a video on this topic, I got so lost in the documentation. Thanks so much

dylanclements
Автор

Love your topics for videos. It’s like the practical side of RN. Keep it up!

jjrise
Автор

Thanks dan! My first approach with Native Modules. Even though I found it a bit hard - mainly the Kotlin part -, it went well. Thanks

ggchicote
Автор

Hi, when i am adding a native library which is inside the project how i have to link it to the module to be able to use it?

Forfiter
Автор

Thanks for creating this concise tutorial.
Wanted to know how simple it is to build a native UI and show it in a React Native app.

nikhilranka
Автор

How should AsyncFunction work in a Swift module? I have been trying to fetch Apple MusicKit data from a function but I get an unhandled promise rejection with Error: Received 0 arguments, but 1 was expected. The only parameter defined on the expo AsyncFunction is promse: Promise so not sure what is going on

uniquity
Автор

I have a doubt that's indirectly related to expo architecture, does Expo Module Internally use expo dev client for building project? Or if I decide to use expo module in existing project I have to add dev client as dependency, because I always get confused between dev client and expo pre build

dhananjay
Автор

My example folder has no other folders in it. Has anyone else had issues finding this folder?

kingdan-x
Автор

Would it be possible to add android native dependencies to the expo modules? Like I don't know using a maven library along with your custom native code? Sorry if the question seems stupid, I'm just getting started into integrating native dependencies in react native projects

edxmo
Автор

Great content! BTW, If I would like to use this new approach and don't want to publish my modules on npm (even on private npm) do I have to use monorepo approach? Because it's not possible to keep those modules alongside app code, or I'm missing something?

andrzejhanusek
Автор

Great Video! Is there any way to run expo-module-scripts using windows OS

diodnnw
Автор

Hello I tried to generate some numbers with Expo React Native, but the app every Time, Do you think if i create a react Native plugin in Java it will be Lighter ?

AsgardMarcella
Автор

how do you get your profile under tab automatically at 1:59?

Raiwulf
Автор

Could you explain how to publish as a library on npm? please

EdwinRebolledo
Автор

Weirdly enough, got an error saying that could not be found. Fixed by installing it from within the 'example' folder with npm ('npm i Might be specific to me, but leaving it here just in case anyone else stumbles on the same thing.

anseev
Автор

Thanks! Is may have a way to use a C++ module in Expo native modules? I really wanna know about that! bro

alexyip
Автор

Do you maybe know how in kotlin to import Promise when using expo modules.import expo.modules.core.Promise? This seems not working?

vladimirvucetic
Автор

Gettting "npm install exited with non-zero code: 1" while using the following command: "npx create-expo-module my-module". Any help?

stevenmajek
Автор

When I try to build it using eas it fails with gradle error

ahmedgameel
Автор

I was working with RN, but don’t expo. It’s not hate, but I don’t feel good working with that.
Now I can change my opinion with evolution of expo and use it in production?

NicholasEduardo