Skip to content

Instantly share code, notes, and snippets.

@skiph

skiph/ApproovPackage.java

Last active May 2, 2018
Embed
What would you like to do?
RNDemo - Approov Package
package com.criticalblue.approov;
import ...
public class ApproovPackage implements ReactPackage {
@Override
public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
return Collections.emptyList();
}
@Override
public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
List<NativeModule> modules = new ArrayList<>();
modules.add(new ApproovModule(reactContext));
return modules;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment