Created
August 2, 2020 17:21
-
-
Save AilsonFreire/482e9ca8f3abbd46846c4d4e333aa1cd to your computer and use it in GitHub Desktop.
Initial SmartLockModule creation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.smartlock; | |
import com.facebook.react.bridge.ReactApplicationContext; | |
import com.facebook.react.bridge.ReactContextBaseJavaModule; | |
public class SmartLockModule extends ReactContextBaseJavaModule { | |
private static ReactApplicationContext reactContext; | |
public static final String REACT_CLASS = "SmartLock"; | |
SmartLockModule (ReactApplicationContext context) { | |
super(context); | |
reactContext = context; | |
} | |
@Override | |
public String getName() { | |
return REACT_CLASS; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment