Skip to content

Instantly share code, notes, and snippets.

@AilsonFreire
Created August 2, 2020 17:21
Show Gist options
  • Save AilsonFreire/482e9ca8f3abbd46846c4d4e333aa1cd to your computer and use it in GitHub Desktop.
Save AilsonFreire/482e9ca8f3abbd46846c4d4e333aa1cd to your computer and use it in GitHub Desktop.
Initial SmartLockModule creation
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