From the video 1. We created the calendar module in the Calendar Module Java class We then instantiated that in the Package file 2. Now we are going to add the function in MainActivity so we will now have access to the provided module. Tough part is we have to enter all the boilerplate code from scratch. So having the boilerplate reduces complexity
I don't know why it's happening. I created a new expo project, and then I followed the instructions. The CalendarModule always returns Null. Is it something related to the new expo sdk? NativeModules returns some Modules, but no one is one that I've registered.
const { CalendarModule } = NativeModules; console.log(CalendarModule) I followed the same steps, and it prints correctly with emulator, but prints null with the real device
Whenever I am generating a new project, my packages are getting generated in Kotlin but I want them to be generated in Java..Is there any way to pass it as a parameter if we want Java or Kotlin?
From the video
1. We created the calendar module in the Calendar Module Java class
We then instantiated that in the Package file
2. Now we are going to add the function in MainActivity so we will now have access to the provided module.
Tough part is we have to enter all the boilerplate code from scratch. So having the boilerplate reduces complexity
The event emitter concept discussed here is a gold mine. Thanks for that! 😇
can i use event emitter in new architecture with turbo module?
Awesome!
I don't know why it's happening. I created a new expo project, and then I followed the instructions. The CalendarModule always returns Null. Is it something related to the new expo sdk? NativeModules returns some Modules, but no one is one that I've registered.
Did u solve this problem ??
Thanks for your help and support keep going
const { CalendarModule } = NativeModules;
console.log(CalendarModule)
I followed the same steps, and it prints correctly with emulator, but prints null with the real device
Great video, thank you! Which plugin gives you the getName, etc. intellisense?
I guess its just Android Studio Intellisense
Amazing tutorial
great video!!
Whenever I am generating a new project, my packages are getting generated in Kotlin but I want them to be generated in Java..Is there any way to pass it as a parameter if we want Java or Kotlin?
FINALLY SOMEONE ASKED. i have have exact same question.
Cuando creas el proyecto con android studio te pregunta el lenguaje con el que será creado (Kotlin o Java), solo selecciónalo.
Good video. Thanks!
If I have a promise and arrayList in @ReactMethod as a parameter then How to call a @ReactMethod inside a java function. please sir help me
Really helpful
Thanks for sharing
Thanks
Video is blank from 10:37 to 14:47
haha. Dont know what happened there. Thanks edited!
We want only React Native video no flutter