File tree 2 files changed +5
-5
lines changed
android/src/main/java/com/xmartlabs/rnline
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.*
21
21
import com.linecorp.linesdk.LineProfile
22
22
23
23
enum class LoginArguments (val key : String ) {
24
- SCOPES ( " scopes " ),
24
+ BOT_PROMPT ( " botPrompt " ),
25
25
ONLY_WEB_LOGIN (" onlyWebLogin" ),
26
- BOT_PROMPT ( " botPrompt " )
26
+ SCOPES ( " scopes " )
27
27
}
28
28
29
- class RNLine (reactContext : ReactApplicationContext ) : ReactContextBaseJavaModule(reactContext) {
29
+ class LineLogin (reactContext : ReactApplicationContext ) : ReactContextBaseJavaModule(reactContext) {
30
30
companion object {
31
31
private const val MODULE_NAME : String = " LineLogin"
32
32
private const val ERROR_MESSAGE : String = " ERROR"
Original file line number Diff line number Diff line change 5
5
import com .facebook .react .bridge .NativeModule ;
6
6
import com .facebook .react .bridge .ReactApplicationContext ;
7
7
import com .facebook .react .uimanager .ViewManager ;
8
- import com .xmartlabs .rnline .RNLine ;
8
+ import com .xmartlabs .rnline .LineLogin ;
9
9
10
10
import java .util .ArrayList ;
11
11
import java .util .Collections ;
@@ -24,7 +24,7 @@ public List<Class<? extends JavaScriptModule>> createJSModules() {
24
24
@ Override
25
25
public List <NativeModule > createNativeModules (ReactApplicationContext reactContext ) {
26
26
List <NativeModule > modules = new ArrayList <>();
27
- modules .add (new RNLine (reactContext ));
27
+ modules .add (new LineLogin (reactContext ));
28
28
return modules ;
29
29
}
30
30
}
You can’t perform that action at this time.
0 commit comments