Skip to content

Commit

Permalink
fix: native linking of android example
Browse files Browse the repository at this point in the history
  • Loading branch information
numandev1 committed Mar 30, 2021
1 parent 2a25c86 commit f63d36f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ dependencies {
} else {
implementation jscFlavor
}

implementation project(':react-native-keys')
}

// Run this once to be able to run the application with BUCK
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import com.facebook.soloader.SoLoader;
import java.lang.reflect.InvocationTargetException;
import java.util.List;

import com.reactnativejnikeys.JniKeysPackage;

public class MainApplication extends Application implements ReactApplication {

Expand All @@ -27,6 +27,7 @@ protected List<ReactPackage> getPackages() {
List<ReactPackage> packages = new PackageList(this).getPackages();
// Packages that cannot be autolinked yet can be added manually here, for JniKeysExample:
// packages.add(new MyReactNativePackage());
packages.add(new JniKeysPackage());
return packages;
}

Expand Down

0 comments on commit f63d36f

Please sign in to comment.