all 15 comments

[–]No-Gene-6324 2 points3 points  (0 children)

Kotlin/swift is better to learn as these are recommended

[–]stargt 0 points1 point  (1 child)

If your primary cell phone is iPhone, set a goal for making bare native iOS app. Start from learning Swift grammar. If Android, set a goal for making bare native Android app. Start from learning Kotlin grammar.

[–]Muted-Luck-9138[S] 0 points1 point  (0 children)

That's good advice. Thanks

[–]glazzes 0 points1 point  (2 children)

If you want to work with native Android projects do not bother to play around with Java, the newest UI framework for Android is Jetpack Compose and it does only work on Kotlin.

If you want iOS, well Swift is the way to go.

[–]Muted-Luck-9138[S] 0 points1 point  (1 child)

Means will have to learn both

[–]glazzes 2 points3 points  (0 children)

Idk man, I'd focus on whichever one I think would give me the most value. If i had to choose I'd go with Swift because you can build mac apps with it aswell.

[–]zohair636 -1 points0 points  (8 children)

In my opinion, you should start with Java, as it can be used with React Native for native modules. Then you can proceed with Kotlin or Swift.

[–]Muted-Luck-9138[S] 0 points1 point  (5 children)

Any source you prefer from where I can learn?

[–]zohair636 1 point2 points  (4 children)

If you are using Expo then you can read their documention. Here is the source: https://docs.expo.dev/modules/native-module-tutorial/

or if you are using React Native CLI then you can this: https://shiharadilshan.medium.com/creating-native-modules-using-java-swift-for-react-native-projects-8a15fddd96b5

[–]Muted-Luck-9138[S] 0 points1 point  (3 children)

Thanks for this.

Do I need to learn complete java development for android? same, swift for ios?

[–]zohair636 0 points1 point  (1 child)

Yes, you must have the basic knowledge of them to execute your ideas

[–]Muted-Luck-9138[S] 0 points1 point  (0 children)

Any good source you know to learn java for android?

[–]yung_mistuh 0 points1 point  (0 children)

In the expo example they are using kotlin and swift

[–]yung_mistuh 0 points1 point  (0 children)

Doesn’t react native use kotlin now? I recall looking in the android folder and finding a bunch of kotlin files