react-native-builder-bob icon indicating copy to clipboard operation
react-native-builder-bob copied to clipboard

Sample packages published with Kotlin

Open sajaddp opened this issue 4 years ago • 3 comments

Hi The official react-native document does not tutorial to build a Kotlin-based package, can you please mention some packages that were written with react-native-builder-bob's help and are now at npm?

sajaddp avatar Nov 03 '20 12:11 sajaddp

I recently created https://github.com/alpha0010/react-native-pdf-viewer . Uses Kotlin (Swift for iOS) and has both a native module and a native UI component.

No claims that my code is good. However it is small, so perhaps easier to learn from.

alpha0010 avatar Nov 03 '20 21:11 alpha0010

@sajaddp you can just copy and paste java code and android studio will transform it into kotlin language easily.

Or you can just checkout my PR https://github.com/callstack/react-native-builder-bob/pull/105

troZee avatar Nov 19 '20 08:11 troZee

Hello @sajaddp! I can see that a couple of months after your question there has been a Kotlin + Swift support added to the react-native-builder-bob. Can you please check if #129 solves your issue?

BartoszKlonowski avatar May 24 '21 14:05 BartoszKlonowski