Skip to content

Commit

Permalink
chore(INJI-303): update android target and compile sdk to Api level 3…
Browse files Browse the repository at this point in the history
…3. (#827)
  • Loading branch information
swatigoel authored Sep 12, 2023
1 parent e7bec4a commit 430a6fe
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 24 deletions.
14 changes: 0 additions & 14 deletions android/app/src/main/java/io/mosip/residentapp/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import com.facebook.react.ReactActivity;
import com.facebook.react.ReactActivityDelegate;
import com.facebook.react.ReactRootView;
import com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView;
import expo.modules.ReactActivityDelegateWrapper;

/**
Expand Down Expand Up @@ -109,17 +108,4 @@ public void onRequestPermissionsResult(int requestCode, @NonNull String[] permis
}
recreate();
}

@Override
protected ReactActivityDelegate createReactActivityDelegate() {
return new ReactActivityDelegateWrapper(
this,
new ReactActivityDelegate(this, getMainComponentName()) {
@Override
protected ReactRootView createRootView() {
return new RNGestureHandlerEnabledRootView(MainActivity.this);
}
}
);
}
}
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ buildscript {
ext {
buildToolsVersion = "29.0.3"
minSdkVersion = 23
compileSdkVersion = 31
targetSdkVersion = 31
compileSdkVersion = 33
targetSdkVersion = 33
}
repositories {
google()
Expand Down
18 changes: 11 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"react-native-dotenv": "^3.3.1",
"react-native-elements": "3.4.2",
"react-native-fs": "^2.20.0",
"react-native-gesture-handler": "~2.1.0",
"react-native-gesture-handler": "2.5.0",
"react-native-keychain": "^8.0.0",
"react-native-linear-gradient": "^2.6.2",
"react-native-location-enabler": "^4.1.0",
Expand Down

0 comments on commit 430a6fe

Please sign in to comment.