xmartlabs / react-native-line

Line SDK wrapper for React Native 🚀
MIT License
121 stars 86 forks source link

Add stanalone setup channel ID method for multiple channel ID use cases #109

Open EagleVee opened 1 year ago

EagleVee commented 1 year ago

PR Title

🔄 Type of change:


:pencil2: Description:

When using @xmartlabs/react-native-line on my project, my client requires that there are separate LINE channels for their separate corporations. So after some time digging in the source code, I found a way to use dynamic channel ID by export the LoginManager.setup method to React Native. I thought that this might be a good feature for the SDK so I created this PR. The coding might be not perfect since this is the first time I try to code on Kotlin and Swift, so recommendations are very appreciated!


:movie_camera: Screen record:

Add a screen record of the execution of your functionality. This way the reviewer can better understand what has been added.


:pushpin: Notes:


:heavy_check_mark:Tasks:


:warning: Warnings: