Skip to content

Commit

Permalink
fix dev app packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
nazli-stripe committed Nov 22, 2023
1 parent 2d8800a commit b6d0ce0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dev-app/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ dependencies {
} else {
implementation jscFlavor
}

implementation project(':stripeterminalreactnative')
}

apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import com.facebook.react.defaults.DefaultReactNativeHost;
import com.facebook.soloader.SoLoader;
import java.util.List;
import com.stripeterminalreactnative.StripeTerminalReactNativePackage;

public class MainApplication extends Application implements ReactApplication {

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

Expand Down

0 comments on commit b6d0ce0

Please sign in to comment.