codeplay-common 2.1.6 → 2.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11,7 +11,7 @@ const configPath = path.join(process.cwd(), 'capacitor.config.json');
|
|
|
11
11
|
// Expected plugin list with minimum versions
|
|
12
12
|
const requiredPlugins = [
|
|
13
13
|
{ pattern: /backbutton-(\d+\.\d+)\.js$/, minVersion: '1.6', required: true },
|
|
14
|
-
{ pattern: /common-(\d+\.\d+)\.js$/, minVersion: '5.
|
|
14
|
+
{ pattern: /common-(\d+\.\d+)\.js$/, minVersion: '5.1', required: true },
|
|
15
15
|
{ pattern: /localization_settings-(\d+\.\d+)\.js$/, minVersion: '1.1', required: true },
|
|
16
16
|
{ pattern: /localization-(\d+\.\d+)\.js$/, minVersion: '1.3', required: true },
|
|
17
17
|
{ pattern: /localNotification-(\d+\.\d+)\.js$/, minVersion: '2.2', required: true },
|
|
@@ -19,7 +19,7 @@ const requiredPlugins = [
|
|
|
19
19
|
{ pattern: /onesignal-(\d+\.\d+)\.js$/, minVersion: '2.2', required: true },
|
|
20
20
|
{ pattern: /saveToGalleryAndSaveAnyFile-(\d+\.\d+)(-ios)?\.js$/, minVersion: '3.0', required: true },
|
|
21
21
|
{ pattern: /Ads[\/\\]IAP-(\d+\.\d+)$/, minVersion: '2.5', isFolder: true , required: true },
|
|
22
|
-
{ pattern: /Ads[\/\\]admob-emi-(\d+\.\d+)\.js$/, minVersion: '3.
|
|
22
|
+
{ pattern: /Ads[\/\\]admob-emi-(\d+\.\d+)\.js$/, minVersion: '3.3', required: true },
|
|
23
23
|
|
|
24
24
|
// New added plugins
|
|
25
25
|
{ pattern: /video-player-(\d+\.\d+)\.js$/, minVersion: '1.5', required: true },
|
|
@@ -126,12 +126,15 @@ import android.os.Build;
|
|
|
126
126
|
import android.os.Bundle;
|
|
127
127
|
import com.getcapacitor.BridgeActivity;
|
|
128
128
|
|
|
129
|
+
import androidx.activity.EdgeToEdge;
|
|
129
130
|
|
|
130
131
|
public class MainActivity extends BridgeActivity {
|
|
131
132
|
@Override
|
|
132
133
|
protected void onCreate(Bundle savedInstanceState) {
|
|
133
134
|
super.onCreate(savedInstanceState);
|
|
134
135
|
|
|
136
|
+
EdgeToEdge.enable(this);
|
|
137
|
+
|
|
135
138
|
// Handle custom splash screen exit animation
|
|
136
139
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
|
|
137
140
|
getSplashScreen().setOnExitAnimationListener(splashScreenView -> {
|