File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
android/src/main/java/com/xmartlabs/rnline Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -21,12 +21,12 @@ import com.linecorp.linesdk.*
2121import com.linecorp.linesdk.LineProfile
2222
2323enum class LoginArguments (val key : String ) {
24- SCOPES ( " scopes " ),
24+ BOT_PROMPT ( " botPrompt " ),
2525 ONLY_WEB_LOGIN (" onlyWebLogin" ),
26- BOT_PROMPT ( " botPrompt " )
26+ SCOPES ( " scopes " )
2727}
2828
29- class RNLine (reactContext : ReactApplicationContext ) : ReactContextBaseJavaModule(reactContext) {
29+ class LineLogin (reactContext : ReactApplicationContext ) : ReactContextBaseJavaModule(reactContext) {
3030 companion object {
3131 private const val MODULE_NAME : String = " LineLogin"
3232 private const val ERROR_MESSAGE : String = " ERROR"
Original file line number Diff line number Diff line change 55import com .facebook .react .bridge .NativeModule ;
66import com .facebook .react .bridge .ReactApplicationContext ;
77import com .facebook .react .uimanager .ViewManager ;
8- import com .xmartlabs .rnline .RNLine ;
8+ import com .xmartlabs .rnline .LineLogin ;
99
1010import java .util .ArrayList ;
1111import java .util .Collections ;
@@ -24,7 +24,7 @@ public List<Class<? extends JavaScriptModule>> createJSModules() {
2424 @ Override
2525 public List <NativeModule > createNativeModules (ReactApplicationContext reactContext ) {
2626 List <NativeModule > modules = new ArrayList <>();
27- modules .add (new RNLine (reactContext ));
27+ modules .add (new LineLogin (reactContext ));
2828 return modules ;
2929 }
3030}
You can’t perform that action at this time.
0 commit comments