react-native-google-mobile-ads 15.8.3 → 16.0.0
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.
- package/__tests__/consent.test.ts +4 -4
- package/__tests__/googleMobileAds.test.ts +14 -14
- package/__tests__/interstitial.test.ts +14 -14
- package/android/src/main/java/io/invertase/googlemobileads/ReactNativeGoogleMobileAdsModule.kt +0 -12
- package/ios/RNGoogleMobileAds/RNGoogleMobileAdsBannerComponent.h +1 -1
- package/ios/RNGoogleMobileAds/RNGoogleMobileAdsBannerComponent.m +3 -3
- package/ios/RNGoogleMobileAds/RNGoogleMobileAdsCommon.h +24 -24
- package/ios/RNGoogleMobileAds/RNGoogleMobileAdsConsentModule.mm +1 -1
- package/ios/RNGoogleMobileAds/RNGoogleMobileAdsMediaView.h +1 -0
- package/ios/RNGoogleMobileAds/RNGoogleMobileAdsMediaView.mm +2 -0
- package/ios/RNGoogleMobileAds/RNGoogleMobileAdsModule.mm +5 -20
- package/ios/RNGoogleMobileAds/RNGoogleMobileAdsNativeModule.mm +1 -1
- package/ios/RNGoogleMobileAds/RNGoogleMobileAdsNativeView.h +1 -0
- package/ios/RNGoogleMobileAds/RNGoogleMobileAdsNativeView.mm +2 -0
- package/ios/RNGoogleMobileAds/common/RNSharedUtils.h +1 -2
- package/ios/RNGoogleMobileAds/common/RNSharedUtils.mm +1 -2
- package/ios_config.sh +12 -12
- package/jest.setup.ts +10 -0
- package/lib/commonjs/AdEventType.js +40 -0
- package/lib/commonjs/AdEventType.js.map +1 -1
- package/lib/commonjs/AdsConsent.js +3 -2
- package/lib/commonjs/AdsConsent.js.map +1 -1
- package/lib/commonjs/AdsConsentPurposes.js +136 -0
- package/lib/commonjs/AdsConsentPurposes.js.map +1 -1
- package/lib/commonjs/AdsConsentSpecialFeatures.js +18 -0
- package/lib/commonjs/AdsConsentSpecialFeatures.js.map +1 -1
- package/lib/commonjs/BannerAdSize.js +28 -0
- package/lib/commonjs/BannerAdSize.js.map +1 -1
- package/lib/commonjs/GAMAdEventType.js +17 -0
- package/lib/commonjs/GAMAdEventType.js.map +1 -1
- package/lib/commonjs/MaxAdContentRating.js +12 -0
- package/lib/commonjs/MaxAdContentRating.js.map +1 -1
- package/lib/commonjs/MobileAds.js +2 -4
- package/lib/commonjs/MobileAds.js.map +1 -1
- package/lib/commonjs/NativeAdEventType.js +30 -0
- package/lib/commonjs/NativeAdEventType.js.map +1 -1
- package/lib/commonjs/RewardedAdEventType.js +38 -0
- package/lib/commonjs/RewardedAdEventType.js.map +1 -1
- package/lib/commonjs/TestIds.js.map +1 -1
- package/lib/commonjs/ads/AppOpenAd.js +1 -1
- package/lib/commonjs/ads/AppOpenAd.js.map +1 -1
- package/lib/commonjs/ads/BannerAd.js +7 -4
- package/lib/commonjs/ads/BannerAd.js.map +1 -1
- package/lib/commonjs/ads/BaseAd.js +2 -2
- package/lib/commonjs/ads/BaseAd.js.map +1 -1
- package/lib/commonjs/ads/GAMBannerAd.js +7 -4
- package/lib/commonjs/ads/GAMBannerAd.js.map +1 -1
- package/lib/commonjs/ads/GAMInterstitialAd.js.map +1 -1
- package/lib/commonjs/ads/InterstitialAd.js +1 -1
- package/lib/commonjs/ads/InterstitialAd.js.map +1 -1
- package/lib/commonjs/ads/MobileAd.js.map +1 -1
- package/lib/commonjs/ads/RewardedAd.js +1 -1
- package/lib/commonjs/ads/RewardedAd.js.map +1 -1
- package/lib/commonjs/ads/RewardedInterstitialAd.js +1 -1
- package/lib/commonjs/ads/RewardedInterstitialAd.js.map +1 -1
- package/lib/commonjs/ads/native-ad/NativeAd.js.map +1 -1
- package/lib/commonjs/ads/native-ad/NativeAdContext.js.map +1 -1
- package/lib/commonjs/ads/native-ad/NativeAdView.js +14 -9
- package/lib/commonjs/ads/native-ad/NativeAdView.js.map +1 -1
- package/lib/commonjs/ads/native-ad/NativeAsset.js.map +1 -1
- package/lib/commonjs/ads/native-ad/NativeMediaView.js +14 -10
- package/lib/commonjs/ads/native-ad/NativeMediaView.js.map +1 -1
- package/lib/commonjs/common/constants.js +7 -13
- package/lib/commonjs/common/constants.js.map +1 -1
- package/lib/commonjs/common/debounce.js.map +1 -1
- package/lib/commonjs/common/index.js.map +1 -1
- package/lib/commonjs/common/ref.js +6 -5
- package/lib/commonjs/common/ref.js.map +1 -1
- package/lib/commonjs/common/validate.js.map +1 -1
- package/lib/commonjs/declarations.d.js.map +1 -1
- package/lib/commonjs/hooks/useAppOpenAd.js.map +1 -1
- package/lib/commonjs/hooks/useForeground.js.map +1 -1
- package/lib/commonjs/hooks/useFullScreenAd.js +14 -12
- package/lib/commonjs/hooks/useFullScreenAd.js.map +1 -1
- package/lib/commonjs/hooks/useInterstitialAd.js.map +1 -1
- package/lib/commonjs/hooks/useRewardedAd.js.map +1 -1
- package/lib/commonjs/hooks/useRewardedInterstitialAd.js.map +1 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/internal/GoogleMobileAdsNativeEventEmitter.js +4 -37
- package/lib/commonjs/internal/GoogleMobileAdsNativeEventEmitter.js.map +1 -1
- package/lib/commonjs/internal/NativeError.js.map +1 -1
- package/lib/commonjs/internal/SharedEventEmitter.js.map +1 -1
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/specs/components/GoogleMobileAdsBannerViewNativeComponent.ts +62 -0
- package/lib/{module/specs/components/GoogleMobileAdsMediaViewNativeComponent.js → commonjs/specs/components/GoogleMobileAdsMediaViewNativeComponent.ts} +12 -2
- package/lib/commonjs/specs/components/GoogleMobileAdsNativeViewNativeComponent.ts +45 -0
- package/lib/commonjs/specs/modules/NativeAppOpenModule.js.map +1 -1
- package/lib/commonjs/specs/modules/NativeConsentModule.js +36 -0
- package/lib/commonjs/specs/modules/NativeConsentModule.js.map +1 -1
- package/lib/commonjs/specs/modules/NativeGoogleMobileAdsModule.js.map +1 -1
- package/lib/commonjs/specs/modules/NativeGoogleMobileAdsNativeModule.js.map +1 -1
- package/lib/commonjs/specs/modules/NativeInterstitialModule.js.map +1 -1
- package/lib/commonjs/specs/modules/NativeRewardedInterstitialModule.js.map +1 -1
- package/lib/commonjs/specs/modules/NativeRewardedModule.js.map +1 -1
- package/lib/commonjs/types/AdEventListener.js.map +1 -1
- package/lib/commonjs/types/AdEventsListener.js.map +1 -1
- package/lib/commonjs/types/AdShowOptions.js.map +1 -1
- package/lib/commonjs/types/AdStates.js.map +1 -1
- package/lib/commonjs/types/AdapterStatus.js +6 -0
- package/lib/commonjs/types/AdapterStatus.js.map +1 -1
- package/lib/commonjs/types/AppEvent.js.map +1 -1
- package/lib/commonjs/types/BannerAdProps.js.map +1 -1
- package/lib/commonjs/types/MobileAd.interface.js.map +1 -1
- package/lib/commonjs/types/MobileAdsModule.interface.js.map +1 -1
- package/lib/commonjs/types/NativeAdRequestOptions.js.map +1 -1
- package/lib/commonjs/types/PaidEventListener.js.map +1 -1
- package/lib/commonjs/types/RequestConfiguration.js.map +1 -1
- package/lib/commonjs/types/RequestOptions.js.map +1 -1
- package/lib/commonjs/types/RewardedAdReward.js.map +1 -1
- package/lib/commonjs/types/index.js.map +1 -1
- package/lib/commonjs/validateAdRequestConfiguration.js +2 -2
- package/lib/commonjs/validateAdRequestConfiguration.js.map +1 -1
- package/lib/commonjs/validateAdRequestOptions.js.map +1 -1
- package/lib/commonjs/validateAdShowOptions.js.map +1 -1
- package/lib/commonjs/validateNativeAdRequestOptions.js +3 -3
- package/lib/commonjs/validateNativeAdRequestOptions.js.map +1 -1
- package/lib/commonjs/version.js +1 -1
- package/lib/commonjs/version.js.map +1 -1
- package/lib/module/AdEventType.js +42 -0
- package/lib/module/AdEventType.js.map +1 -1
- package/lib/module/AdsConsent.js +5 -2
- package/lib/module/AdsConsent.js.map +1 -1
- package/lib/module/AdsConsentPurposes.js +138 -0
- package/lib/module/AdsConsentPurposes.js.map +1 -1
- package/lib/module/AdsConsentSpecialFeatures.js +20 -0
- package/lib/module/AdsConsentSpecialFeatures.js.map +1 -1
- package/lib/module/BannerAdSize.js +30 -0
- package/lib/module/BannerAdSize.js.map +1 -1
- package/lib/module/GAMAdEventType.js +19 -0
- package/lib/module/GAMAdEventType.js.map +1 -1
- package/lib/module/MaxAdContentRating.js +14 -0
- package/lib/module/MaxAdContentRating.js.map +1 -1
- package/lib/module/MobileAds.js +4 -4
- package/lib/module/MobileAds.js.map +1 -1
- package/lib/module/NativeAdEventType.js +32 -0
- package/lib/module/NativeAdEventType.js.map +1 -1
- package/lib/module/RewardedAdEventType.js +40 -0
- package/lib/module/RewardedAdEventType.js.map +1 -1
- package/lib/module/TestIds.js +2 -0
- package/lib/module/TestIds.js.map +1 -1
- package/lib/module/ads/AppOpenAd.js +3 -1
- package/lib/module/ads/AppOpenAd.js.map +1 -1
- package/lib/module/ads/BannerAd.js +7 -4
- package/lib/module/ads/BannerAd.js.map +1 -1
- package/lib/module/ads/BaseAd.js +4 -2
- package/lib/module/ads/BaseAd.js.map +1 -1
- package/lib/module/ads/GAMBannerAd.js +7 -4
- package/lib/module/ads/GAMBannerAd.js.map +1 -1
- package/lib/module/ads/GAMInterstitialAd.js +2 -0
- package/lib/module/ads/GAMInterstitialAd.js.map +1 -1
- package/lib/module/ads/InterstitialAd.js +3 -1
- package/lib/module/ads/InterstitialAd.js.map +1 -1
- package/lib/module/ads/MobileAd.js +2 -0
- package/lib/module/ads/MobileAd.js.map +1 -1
- package/lib/module/ads/RewardedAd.js +3 -1
- package/lib/module/ads/RewardedAd.js.map +1 -1
- package/lib/module/ads/RewardedInterstitialAd.js +3 -1
- package/lib/module/ads/RewardedInterstitialAd.js.map +1 -1
- package/lib/module/ads/native-ad/NativeAd.js +2 -0
- package/lib/module/ads/native-ad/NativeAd.js.map +1 -1
- package/lib/module/ads/native-ad/NativeAdContext.js +2 -0
- package/lib/module/ads/native-ad/NativeAdContext.js.map +1 -1
- package/lib/module/ads/native-ad/NativeAdView.js +14 -9
- package/lib/module/ads/native-ad/NativeAdView.js.map +1 -1
- package/lib/module/ads/native-ad/NativeAsset.js +2 -0
- package/lib/module/ads/native-ad/NativeAsset.js.map +1 -1
- package/lib/module/ads/native-ad/NativeMediaView.js +14 -10
- package/lib/module/ads/native-ad/NativeMediaView.js.map +1 -1
- package/lib/module/common/constants.js +9 -12
- package/lib/module/common/constants.js.map +1 -1
- package/lib/module/common/debounce.js +2 -0
- package/lib/module/common/debounce.js.map +1 -1
- package/lib/module/common/index.js +2 -0
- package/lib/module/common/index.js.map +1 -1
- package/lib/module/common/ref.js +8 -5
- package/lib/module/common/ref.js.map +1 -1
- package/lib/module/common/validate.js +2 -0
- package/lib/module/common/validate.js.map +1 -1
- package/lib/module/declarations.d.js +1 -1
- package/lib/module/declarations.d.js.map +1 -1
- package/lib/module/hooks/useAppOpenAd.js +2 -0
- package/lib/module/hooks/useAppOpenAd.js.map +1 -1
- package/lib/module/hooks/useForeground.js +2 -0
- package/lib/module/hooks/useForeground.js.map +1 -1
- package/lib/module/hooks/useFullScreenAd.js +16 -12
- package/lib/module/hooks/useFullScreenAd.js.map +1 -1
- package/lib/module/hooks/useInterstitialAd.js +2 -0
- package/lib/module/hooks/useInterstitialAd.js.map +1 -1
- package/lib/module/hooks/useRewardedAd.js +2 -0
- package/lib/module/hooks/useRewardedAd.js.map +1 -1
- package/lib/module/hooks/useRewardedInterstitialAd.js +2 -0
- package/lib/module/hooks/useRewardedInterstitialAd.js.map +1 -1
- package/lib/module/index.js +2 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/internal/GoogleMobileAdsNativeEventEmitter.js +6 -37
- package/lib/module/internal/GoogleMobileAdsNativeEventEmitter.js.map +1 -1
- package/lib/module/internal/NativeError.js +2 -0
- package/lib/module/internal/NativeError.js.map +1 -1
- package/lib/module/internal/SharedEventEmitter.js +2 -0
- package/lib/module/internal/SharedEventEmitter.js.map +1 -1
- package/lib/module/specs/components/GoogleMobileAdsBannerViewNativeComponent.ts +62 -0
- package/lib/module/specs/components/{GoogleMobileAdsNativeViewNativeComponent.js → GoogleMobileAdsMediaViewNativeComponent.ts} +12 -6
- package/lib/module/specs/components/GoogleMobileAdsNativeViewNativeComponent.ts +45 -0
- package/lib/module/specs/modules/NativeAppOpenModule.js +2 -0
- package/lib/module/specs/modules/NativeAppOpenModule.js.map +1 -1
- package/lib/module/specs/modules/NativeConsentModule.js +38 -0
- package/lib/module/specs/modules/NativeConsentModule.js.map +1 -1
- package/lib/module/specs/modules/NativeGoogleMobileAdsModule.js +2 -0
- package/lib/module/specs/modules/NativeGoogleMobileAdsModule.js.map +1 -1
- package/lib/module/specs/modules/NativeGoogleMobileAdsNativeModule.js +2 -0
- package/lib/module/specs/modules/NativeGoogleMobileAdsNativeModule.js.map +1 -1
- package/lib/module/specs/modules/NativeInterstitialModule.js +2 -0
- package/lib/module/specs/modules/NativeInterstitialModule.js.map +1 -1
- package/lib/module/specs/modules/NativeRewardedInterstitialModule.js +2 -0
- package/lib/module/specs/modules/NativeRewardedInterstitialModule.js.map +1 -1
- package/lib/module/specs/modules/NativeRewardedModule.js +2 -0
- package/lib/module/specs/modules/NativeRewardedModule.js.map +1 -1
- package/lib/module/types/AdEventListener.js +2 -0
- package/lib/module/types/AdEventListener.js.map +1 -1
- package/lib/module/types/AdEventsListener.js +2 -0
- package/lib/module/types/AdEventsListener.js.map +1 -1
- package/lib/module/types/AdShowOptions.js +1 -1
- package/lib/module/types/AdShowOptions.js.map +1 -1
- package/lib/module/types/AdStates.js +2 -0
- package/lib/module/types/AdStates.js.map +1 -1
- package/lib/module/types/AdapterStatus.js +8 -0
- package/lib/module/types/AdapterStatus.js.map +1 -1
- package/lib/module/types/AppEvent.js +1 -1
- package/lib/module/types/AppEvent.js.map +1 -1
- package/lib/module/types/BannerAdProps.js +2 -0
- package/lib/module/types/BannerAdProps.js.map +1 -1
- package/lib/module/types/MobileAd.interface.js +2 -0
- package/lib/module/types/MobileAd.interface.js.map +1 -1
- package/lib/module/types/MobileAdsModule.interface.js +2 -0
- package/lib/module/types/MobileAdsModule.interface.js.map +1 -1
- package/lib/module/types/NativeAdRequestOptions.js +2 -0
- package/lib/module/types/NativeAdRequestOptions.js.map +1 -1
- package/lib/module/types/PaidEventListener.js +2 -0
- package/lib/module/types/PaidEventListener.js.map +1 -1
- package/lib/module/types/RequestConfiguration.js +2 -0
- package/lib/module/types/RequestConfiguration.js.map +1 -1
- package/lib/module/types/RequestOptions.js +1 -1
- package/lib/module/types/RequestOptions.js.map +1 -1
- package/lib/module/types/RewardedAdReward.js +1 -1
- package/lib/module/types/RewardedAdReward.js.map +1 -1
- package/lib/module/types/index.js +2 -0
- package/lib/module/types/index.js.map +1 -1
- package/lib/module/validateAdRequestConfiguration.js +4 -2
- package/lib/module/validateAdRequestConfiguration.js.map +1 -1
- package/lib/module/validateAdRequestOptions.js +2 -0
- package/lib/module/validateAdRequestOptions.js.map +1 -1
- package/lib/module/validateAdShowOptions.js +2 -0
- package/lib/module/validateAdShowOptions.js.map +1 -1
- package/lib/module/validateNativeAdRequestOptions.js +5 -3
- package/lib/module/validateNativeAdRequestOptions.js.map +1 -1
- package/lib/module/version.js +3 -1
- package/lib/module/version.js.map +1 -1
- package/lib/typescript/AdsConsent.d.ts.map +1 -1
- package/lib/typescript/MobileAds.d.ts.map +1 -1
- package/lib/typescript/ads/BannerAd.d.ts.map +1 -1
- package/lib/typescript/ads/BaseAd.d.ts +1 -1
- package/lib/typescript/ads/BaseAd.d.ts.map +1 -1
- package/lib/typescript/ads/GAMBannerAd.d.ts.map +1 -1
- package/lib/typescript/ads/native-ad/NativeAdContext.d.ts +1 -1
- package/lib/typescript/ads/native-ad/NativeAdContext.d.ts.map +1 -1
- package/lib/typescript/ads/native-ad/NativeAdView.d.ts.map +1 -1
- package/lib/typescript/ads/native-ad/NativeAsset.d.ts +1 -1
- package/lib/typescript/ads/native-ad/NativeAsset.d.ts.map +1 -1
- package/lib/typescript/ads/native-ad/NativeMediaView.d.ts.map +1 -1
- package/lib/typescript/common/constants.d.ts +4 -4
- package/lib/typescript/common/constants.d.ts.map +1 -1
- package/lib/typescript/common/debounce.d.ts +1 -1
- package/lib/typescript/common/debounce.d.ts.map +1 -1
- package/lib/typescript/common/ref.d.ts.map +1 -1
- package/lib/typescript/hooks/useFullScreenAd.d.ts +1 -1
- package/lib/typescript/hooks/useFullScreenAd.d.ts.map +1 -1
- package/lib/typescript/index.d.ts +1 -1
- package/lib/typescript/internal/GoogleMobileAdsNativeEventEmitter.d.ts +2 -3
- package/lib/typescript/internal/GoogleMobileAdsNativeEventEmitter.d.ts.map +1 -1
- package/lib/typescript/specs/components/GoogleMobileAdsBannerViewNativeComponent.d.ts.map +1 -1
- package/lib/typescript/specs/components/GoogleMobileAdsNativeViewNativeComponent.d.ts.map +1 -1
- package/lib/typescript/specs/modules/NativeGoogleMobileAdsModule.d.ts +0 -6
- package/lib/typescript/specs/modules/NativeGoogleMobileAdsModule.d.ts.map +1 -1
- package/lib/typescript/types/AdEventListener.d.ts.map +1 -1
- package/lib/typescript/validateAdRequestConfiguration.d.ts.map +1 -1
- package/lib/typescript/version.d.ts +1 -1
- package/package.json +40 -51
- package/plugin/__tests__/__snapshots__/plugin.test.ts.snap +79 -175
- package/plugin/tsconfig.tsbuildinfo +1 -0
- package/src/AdsConsent.ts +4 -7
- package/src/MobileAds.ts +2 -4
- package/src/ads/AppOpenAd.ts +2 -2
- package/src/ads/BannerAd.tsx +1 -1
- package/src/ads/BaseAd.tsx +1 -2
- package/src/ads/GAMBannerAd.tsx +1 -1
- package/src/ads/InterstitialAd.ts +2 -2
- package/src/ads/RewardedAd.ts +2 -2
- package/src/ads/RewardedInterstitialAd.ts +2 -2
- package/src/ads/native-ad/NativeAdContext.ts +1 -1
- package/src/ads/native-ad/NativeAdView.tsx +1 -1
- package/src/common/constants.ts +7 -13
- package/src/common/debounce.ts +2 -2
- package/src/common/ref.ts +7 -5
- package/src/hooks/useFullScreenAd.ts +19 -17
- package/src/internal/GoogleMobileAdsNativeEventEmitter.ts +11 -36
- package/src/specs/components/GoogleMobileAdsBannerViewNativeComponent.ts +2 -0
- package/src/specs/components/GoogleMobileAdsNativeViewNativeComponent.ts +1 -0
- package/src/specs/modules/NativeGoogleMobileAdsModule.ts +0 -7
- package/src/types/AdEventListener.ts +4 -4
- package/src/validateAdRequestConfiguration.ts +2 -7
- package/src/version.ts +1 -1
- package/lib/commonjs/specs/components/GoogleMobileAdsBannerViewNativeComponent.js +0 -33
- package/lib/commonjs/specs/components/GoogleMobileAdsBannerViewNativeComponent.js.map +0 -1
- package/lib/commonjs/specs/components/GoogleMobileAdsMediaViewNativeComponent.js +0 -26
- package/lib/commonjs/specs/components/GoogleMobileAdsMediaViewNativeComponent.js.map +0 -1
- package/lib/commonjs/specs/components/GoogleMobileAdsNativeViewNativeComponent.js +0 -31
- package/lib/commonjs/specs/components/GoogleMobileAdsNativeViewNativeComponent.js.map +0 -1
- package/lib/module/specs/components/GoogleMobileAdsBannerViewNativeComponent.js +0 -26
- package/lib/module/specs/components/GoogleMobileAdsBannerViewNativeComponent.js.map +0 -1
- package/lib/module/specs/components/GoogleMobileAdsMediaViewNativeComponent.js.map +0 -1
- package/lib/module/specs/components/GoogleMobileAdsNativeViewNativeComponent.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://
|
|
1
|
+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
2
|
|
|
3
3
|
exports[`Expo Config Plugin Tests Should modify AndroidManifest.xml 1`] = `
|
|
4
|
-
"<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
4
|
+
"<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
|
|
5
5
|
<uses-permission android:name="android.permission.INTERNET"/>
|
|
6
6
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
|
|
7
7
|
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
|
|
@@ -14,35 +14,26 @@ exports[`Expo Config Plugin Tests Should modify AndroidManifest.xml 1`] = `
|
|
|
14
14
|
<data android:scheme="https"/>
|
|
15
15
|
</intent>
|
|
16
16
|
</queries>
|
|
17
|
-
<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="true" android:theme="@style/AppTheme" android:
|
|
17
|
+
<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="true" android:theme="@style/AppTheme" android:supportsRtl="true" android:enableOnBackInvokedCallback="false">
|
|
18
18
|
<meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="TestAppId" tools:replace="android:value"/>
|
|
19
19
|
<meta-data android:name="com.google.android.gms.ads.DELAY_APP_MEASUREMENT_INIT" android:value="true" tools:replace="android:value"/>
|
|
20
20
|
<meta-data android:name="com.google.android.gms.ads.flag.OPTIMIZE_AD_LOADING" android:value="true" tools:replace="android:value"/>
|
|
21
21
|
<meta-data android:name="com.google.android.gms.ads.flag.OPTIMIZE_INITIALIZATION" android:value="true" tools:replace="android:value"/>
|
|
22
|
-
<meta-data android:name="expo.modules.updates.ENABLED" android:value="
|
|
23
|
-
<meta-data android:name="expo.modules.updates.EXPO_SDK_VERSION" android:value="47.0.0"/>
|
|
22
|
+
<meta-data android:name="expo.modules.updates.ENABLED" android:value="false"/>
|
|
24
23
|
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_CHECK_ON_LAUNCH" android:value="ALWAYS"/>
|
|
25
24
|
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_LAUNCH_WAIT_MS" android:value="0"/>
|
|
26
|
-
<
|
|
27
|
-
<activity android:name=".MainActivity" android:label="@string/app_name" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode" android:launchMode="singleTask" android:windowSoftInputMode="adjustResize" android:theme="@style/Theme.App.SplashScreen" android:exported="true">
|
|
25
|
+
<activity android:name=".MainActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|uiMode" android:launchMode="singleTask" android:windowSoftInputMode="adjustResize" android:theme="@style/Theme.App.SplashScreen" android:exported="true">
|
|
28
26
|
<intent-filter>
|
|
29
27
|
<action android:name="android.intent.action.MAIN"/>
|
|
30
28
|
<category android:name="android.intent.category.LAUNCHER"/>
|
|
31
29
|
</intent-filter>
|
|
32
|
-
<intent-filter>
|
|
33
|
-
<action android:name="android.intent.action.VIEW"/>
|
|
34
|
-
<category android:name="android.intent.category.DEFAULT"/>
|
|
35
|
-
<category android:name="android.intent.category.BROWSABLE"/>
|
|
36
|
-
<data android:scheme="com.example"/>
|
|
37
|
-
</intent-filter>
|
|
38
30
|
</activity>
|
|
39
|
-
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" android:exported="false"/>
|
|
40
31
|
</application>
|
|
41
32
|
</manifest>"
|
|
42
33
|
`;
|
|
43
34
|
|
|
44
35
|
exports[`Expo Config Plugin Tests Should modify AndroidManifest.xml 2`] = `
|
|
45
|
-
"<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
36
|
+
"<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
|
|
46
37
|
<uses-permission android:name="android.permission.INTERNET"/>
|
|
47
38
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
|
|
48
39
|
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
|
|
@@ -55,35 +46,26 @@ exports[`Expo Config Plugin Tests Should modify AndroidManifest.xml 2`] = `
|
|
|
55
46
|
<data android:scheme="https"/>
|
|
56
47
|
</intent>
|
|
57
48
|
</queries>
|
|
58
|
-
<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="true" android:theme="@style/AppTheme" android:
|
|
49
|
+
<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="true" android:theme="@style/AppTheme" android:supportsRtl="true" android:enableOnBackInvokedCallback="false">
|
|
59
50
|
<meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="TestAppId" tools:replace="android:value"/>
|
|
60
51
|
<meta-data android:name="com.google.android.gms.ads.DELAY_APP_MEASUREMENT_INIT" android:value="true" tools:replace="android:value"/>
|
|
61
52
|
<meta-data android:name="com.google.android.gms.ads.flag.OPTIMIZE_AD_LOADING" android:value="true" tools:replace="android:value"/>
|
|
62
53
|
<meta-data android:name="com.google.android.gms.ads.flag.OPTIMIZE_INITIALIZATION" android:value="true" tools:replace="android:value"/>
|
|
63
|
-
<meta-data android:name="expo.modules.updates.ENABLED" android:value="
|
|
64
|
-
<meta-data android:name="expo.modules.updates.EXPO_SDK_VERSION" android:value="47.0.0"/>
|
|
54
|
+
<meta-data android:name="expo.modules.updates.ENABLED" android:value="false"/>
|
|
65
55
|
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_CHECK_ON_LAUNCH" android:value="ALWAYS"/>
|
|
66
56
|
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_LAUNCH_WAIT_MS" android:value="0"/>
|
|
67
|
-
<
|
|
68
|
-
<activity android:name=".MainActivity" android:label="@string/app_name" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode" android:launchMode="singleTask" android:windowSoftInputMode="adjustResize" android:theme="@style/Theme.App.SplashScreen" android:exported="true">
|
|
57
|
+
<activity android:name=".MainActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|uiMode" android:launchMode="singleTask" android:windowSoftInputMode="adjustResize" android:theme="@style/Theme.App.SplashScreen" android:exported="true">
|
|
69
58
|
<intent-filter>
|
|
70
59
|
<action android:name="android.intent.action.MAIN"/>
|
|
71
60
|
<category android:name="android.intent.category.LAUNCHER"/>
|
|
72
61
|
</intent-filter>
|
|
73
|
-
<intent-filter>
|
|
74
|
-
<action android:name="android.intent.action.VIEW"/>
|
|
75
|
-
<category android:name="android.intent.category.DEFAULT"/>
|
|
76
|
-
<category android:name="android.intent.category.BROWSABLE"/>
|
|
77
|
-
<data android:scheme="com.example"/>
|
|
78
|
-
</intent-filter>
|
|
79
62
|
</activity>
|
|
80
|
-
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" android:exported="false"/>
|
|
81
63
|
</application>
|
|
82
64
|
</manifest>"
|
|
83
65
|
`;
|
|
84
66
|
|
|
85
67
|
exports[`Expo Config Plugin Tests Should modify AndroidManifest.xml 3`] = `
|
|
86
|
-
"<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
68
|
+
"<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
|
|
87
69
|
<uses-permission android:name="android.permission.INTERNET"/>
|
|
88
70
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
|
|
89
71
|
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
|
|
@@ -96,35 +78,26 @@ exports[`Expo Config Plugin Tests Should modify AndroidManifest.xml 3`] = `
|
|
|
96
78
|
<data android:scheme="https"/>
|
|
97
79
|
</intent>
|
|
98
80
|
</queries>
|
|
99
|
-
<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="true" android:theme="@style/AppTheme" android:
|
|
81
|
+
<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="true" android:theme="@style/AppTheme" android:supportsRtl="true" android:enableOnBackInvokedCallback="false">
|
|
100
82
|
<meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="TestAppId" tools:replace="android:value"/>
|
|
101
83
|
<meta-data android:name="com.google.android.gms.ads.DELAY_APP_MEASUREMENT_INIT" android:value="true" tools:replace="android:value"/>
|
|
102
84
|
<meta-data android:name="com.google.android.gms.ads.flag.OPTIMIZE_AD_LOADING" android:value="true" tools:replace="android:value"/>
|
|
103
85
|
<meta-data android:name="com.google.android.gms.ads.flag.OPTIMIZE_INITIALIZATION" android:value="true" tools:replace="android:value"/>
|
|
104
|
-
<meta-data android:name="expo.modules.updates.ENABLED" android:value="
|
|
105
|
-
<meta-data android:name="expo.modules.updates.EXPO_SDK_VERSION" android:value="47.0.0"/>
|
|
86
|
+
<meta-data android:name="expo.modules.updates.ENABLED" android:value="false"/>
|
|
106
87
|
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_CHECK_ON_LAUNCH" android:value="ALWAYS"/>
|
|
107
88
|
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_LAUNCH_WAIT_MS" android:value="0"/>
|
|
108
|
-
<
|
|
109
|
-
<activity android:name=".MainActivity" android:label="@string/app_name" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode" android:launchMode="singleTask" android:windowSoftInputMode="adjustResize" android:theme="@style/Theme.App.SplashScreen" android:exported="true">
|
|
89
|
+
<activity android:name=".MainActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|uiMode" android:launchMode="singleTask" android:windowSoftInputMode="adjustResize" android:theme="@style/Theme.App.SplashScreen" android:exported="true">
|
|
110
90
|
<intent-filter>
|
|
111
91
|
<action android:name="android.intent.action.MAIN"/>
|
|
112
92
|
<category android:name="android.intent.category.LAUNCHER"/>
|
|
113
93
|
</intent-filter>
|
|
114
|
-
<intent-filter>
|
|
115
|
-
<action android:name="android.intent.action.VIEW"/>
|
|
116
|
-
<category android:name="android.intent.category.DEFAULT"/>
|
|
117
|
-
<category android:name="android.intent.category.BROWSABLE"/>
|
|
118
|
-
<data android:scheme="com.example"/>
|
|
119
|
-
</intent-filter>
|
|
120
94
|
</activity>
|
|
121
|
-
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" android:exported="false"/>
|
|
122
95
|
</application>
|
|
123
96
|
</manifest>"
|
|
124
97
|
`;
|
|
125
98
|
|
|
126
99
|
exports[`Expo Config Plugin Tests Should modify AndroidManifest.xml idempotently 1`] = `
|
|
127
|
-
"<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
100
|
+
"<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
|
|
128
101
|
<uses-permission android:name="android.permission.INTERNET"/>
|
|
129
102
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
|
|
130
103
|
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
|
|
@@ -137,35 +110,26 @@ exports[`Expo Config Plugin Tests Should modify AndroidManifest.xml idempotently
|
|
|
137
110
|
<data android:scheme="https"/>
|
|
138
111
|
</intent>
|
|
139
112
|
</queries>
|
|
140
|
-
<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="true" android:theme="@style/AppTheme" android:
|
|
113
|
+
<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="true" android:theme="@style/AppTheme" android:supportsRtl="true" android:enableOnBackInvokedCallback="false">
|
|
141
114
|
<meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="TestAppId" tools:replace="android:value"/>
|
|
142
115
|
<meta-data android:name="com.google.android.gms.ads.DELAY_APP_MEASUREMENT_INIT" android:value="true" tools:replace="android:value"/>
|
|
143
116
|
<meta-data android:name="com.google.android.gms.ads.flag.OPTIMIZE_AD_LOADING" android:value="true" tools:replace="android:value"/>
|
|
144
117
|
<meta-data android:name="com.google.android.gms.ads.flag.OPTIMIZE_INITIALIZATION" android:value="true" tools:replace="android:value"/>
|
|
145
|
-
<meta-data android:name="expo.modules.updates.ENABLED" android:value="
|
|
146
|
-
<meta-data android:name="expo.modules.updates.EXPO_SDK_VERSION" android:value="47.0.0"/>
|
|
118
|
+
<meta-data android:name="expo.modules.updates.ENABLED" android:value="false"/>
|
|
147
119
|
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_CHECK_ON_LAUNCH" android:value="ALWAYS"/>
|
|
148
120
|
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_LAUNCH_WAIT_MS" android:value="0"/>
|
|
149
|
-
<
|
|
150
|
-
<activity android:name=".MainActivity" android:label="@string/app_name" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode" android:launchMode="singleTask" android:windowSoftInputMode="adjustResize" android:theme="@style/Theme.App.SplashScreen" android:exported="true">
|
|
121
|
+
<activity android:name=".MainActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|uiMode" android:launchMode="singleTask" android:windowSoftInputMode="adjustResize" android:theme="@style/Theme.App.SplashScreen" android:exported="true">
|
|
151
122
|
<intent-filter>
|
|
152
123
|
<action android:name="android.intent.action.MAIN"/>
|
|
153
124
|
<category android:name="android.intent.category.LAUNCHER"/>
|
|
154
125
|
</intent-filter>
|
|
155
|
-
<intent-filter>
|
|
156
|
-
<action android:name="android.intent.action.VIEW"/>
|
|
157
|
-
<category android:name="android.intent.category.DEFAULT"/>
|
|
158
|
-
<category android:name="android.intent.category.BROWSABLE"/>
|
|
159
|
-
<data android:scheme="com.example"/>
|
|
160
|
-
</intent-filter>
|
|
161
126
|
</activity>
|
|
162
|
-
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" android:exported="false"/>
|
|
163
127
|
</application>
|
|
164
128
|
</manifest>"
|
|
165
129
|
`;
|
|
166
130
|
|
|
167
131
|
exports[`Expo Config Plugin Tests Should modify AndroidManifest.xml idempotently 2`] = `
|
|
168
|
-
"<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
132
|
+
"<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
|
|
169
133
|
<uses-permission android:name="android.permission.INTERNET"/>
|
|
170
134
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
|
|
171
135
|
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
|
|
@@ -178,35 +142,26 @@ exports[`Expo Config Plugin Tests Should modify AndroidManifest.xml idempotently
|
|
|
178
142
|
<data android:scheme="https"/>
|
|
179
143
|
</intent>
|
|
180
144
|
</queries>
|
|
181
|
-
<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="true" android:theme="@style/AppTheme" android:
|
|
145
|
+
<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="true" android:theme="@style/AppTheme" android:supportsRtl="true" android:enableOnBackInvokedCallback="false">
|
|
182
146
|
<meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="TestAppId" tools:replace="android:value"/>
|
|
183
147
|
<meta-data android:name="com.google.android.gms.ads.DELAY_APP_MEASUREMENT_INIT" android:value="true" tools:replace="android:value"/>
|
|
184
148
|
<meta-data android:name="com.google.android.gms.ads.flag.OPTIMIZE_AD_LOADING" android:value="true" tools:replace="android:value"/>
|
|
185
149
|
<meta-data android:name="com.google.android.gms.ads.flag.OPTIMIZE_INITIALIZATION" android:value="true" tools:replace="android:value"/>
|
|
186
|
-
<meta-data android:name="expo.modules.updates.ENABLED" android:value="
|
|
187
|
-
<meta-data android:name="expo.modules.updates.EXPO_SDK_VERSION" android:value="47.0.0"/>
|
|
150
|
+
<meta-data android:name="expo.modules.updates.ENABLED" android:value="false"/>
|
|
188
151
|
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_CHECK_ON_LAUNCH" android:value="ALWAYS"/>
|
|
189
152
|
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_LAUNCH_WAIT_MS" android:value="0"/>
|
|
190
|
-
<
|
|
191
|
-
<activity android:name=".MainActivity" android:label="@string/app_name" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode" android:launchMode="singleTask" android:windowSoftInputMode="adjustResize" android:theme="@style/Theme.App.SplashScreen" android:exported="true">
|
|
153
|
+
<activity android:name=".MainActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|uiMode" android:launchMode="singleTask" android:windowSoftInputMode="adjustResize" android:theme="@style/Theme.App.SplashScreen" android:exported="true">
|
|
192
154
|
<intent-filter>
|
|
193
155
|
<action android:name="android.intent.action.MAIN"/>
|
|
194
156
|
<category android:name="android.intent.category.LAUNCHER"/>
|
|
195
157
|
</intent-filter>
|
|
196
|
-
<intent-filter>
|
|
197
|
-
<action android:name="android.intent.action.VIEW"/>
|
|
198
|
-
<category android:name="android.intent.category.DEFAULT"/>
|
|
199
|
-
<category android:name="android.intent.category.BROWSABLE"/>
|
|
200
|
-
<data android:scheme="com.example"/>
|
|
201
|
-
</intent-filter>
|
|
202
158
|
</activity>
|
|
203
|
-
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" android:exported="false"/>
|
|
204
159
|
</application>
|
|
205
160
|
</manifest>"
|
|
206
161
|
`;
|
|
207
162
|
|
|
208
163
|
exports[`Expo Config Plugin Tests Should modify AndroidManifest.xml idempotently 3`] = `
|
|
209
|
-
"<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
164
|
+
"<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
|
|
210
165
|
<uses-permission android:name="android.permission.INTERNET"/>
|
|
211
166
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
|
|
212
167
|
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
|
|
@@ -219,29 +174,20 @@ exports[`Expo Config Plugin Tests Should modify AndroidManifest.xml idempotently
|
|
|
219
174
|
<data android:scheme="https"/>
|
|
220
175
|
</intent>
|
|
221
176
|
</queries>
|
|
222
|
-
<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="true" android:theme="@style/AppTheme" android:
|
|
177
|
+
<application android:name=".MainApplication" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:allowBackup="true" android:theme="@style/AppTheme" android:supportsRtl="true" android:enableOnBackInvokedCallback="false">
|
|
223
178
|
<meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="TestAppId" tools:replace="android:value"/>
|
|
224
179
|
<meta-data android:name="com.google.android.gms.ads.DELAY_APP_MEASUREMENT_INIT" android:value="true" tools:replace="android:value"/>
|
|
225
180
|
<meta-data android:name="com.google.android.gms.ads.flag.OPTIMIZE_AD_LOADING" android:value="true" tools:replace="android:value"/>
|
|
226
181
|
<meta-data android:name="com.google.android.gms.ads.flag.OPTIMIZE_INITIALIZATION" android:value="true" tools:replace="android:value"/>
|
|
227
|
-
<meta-data android:name="expo.modules.updates.ENABLED" android:value="
|
|
228
|
-
<meta-data android:name="expo.modules.updates.EXPO_SDK_VERSION" android:value="47.0.0"/>
|
|
182
|
+
<meta-data android:name="expo.modules.updates.ENABLED" android:value="false"/>
|
|
229
183
|
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_CHECK_ON_LAUNCH" android:value="ALWAYS"/>
|
|
230
184
|
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_LAUNCH_WAIT_MS" android:value="0"/>
|
|
231
|
-
<
|
|
232
|
-
<activity android:name=".MainActivity" android:label="@string/app_name" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode" android:launchMode="singleTask" android:windowSoftInputMode="adjustResize" android:theme="@style/Theme.App.SplashScreen" android:exported="true">
|
|
185
|
+
<activity android:name=".MainActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|uiMode" android:launchMode="singleTask" android:windowSoftInputMode="adjustResize" android:theme="@style/Theme.App.SplashScreen" android:exported="true">
|
|
233
186
|
<intent-filter>
|
|
234
187
|
<action android:name="android.intent.action.MAIN"/>
|
|
235
188
|
<category android:name="android.intent.category.LAUNCHER"/>
|
|
236
189
|
</intent-filter>
|
|
237
|
-
<intent-filter>
|
|
238
|
-
<action android:name="android.intent.action.VIEW"/>
|
|
239
|
-
<category android:name="android.intent.category.DEFAULT"/>
|
|
240
|
-
<category android:name="android.intent.category.BROWSABLE"/>
|
|
241
|
-
<data android:scheme="com.example"/>
|
|
242
|
-
</intent-filter>
|
|
243
190
|
</activity>
|
|
244
|
-
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" android:exported="false"/>
|
|
245
191
|
</application>
|
|
246
192
|
</manifest>"
|
|
247
193
|
`;
|
|
@@ -251,6 +197,8 @@ exports[`Expo Config Plugin Tests Should modify Info.plist 1`] = `
|
|
|
251
197
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
252
198
|
<plist version="1.0">
|
|
253
199
|
<dict>
|
|
200
|
+
<key>CADisableMinimumFrameDurationOnPhone</key>
|
|
201
|
+
<true/>
|
|
254
202
|
<key>CFBundleDevelopmentRegion</key>
|
|
255
203
|
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
|
256
204
|
<key>CFBundleDisplayName</key>
|
|
@@ -284,23 +232,21 @@ exports[`Expo Config Plugin Tests Should modify Info.plist 1`] = `
|
|
|
284
232
|
<string>TestIosId</string>
|
|
285
233
|
<key>GADDelayAppMeasurementInit</key>
|
|
286
234
|
<true/>
|
|
235
|
+
<key>LSMinimumSystemVersion</key>
|
|
236
|
+
<string>12.0</string>
|
|
287
237
|
<key>LSRequiresIPhoneOS</key>
|
|
288
238
|
<true/>
|
|
289
239
|
<key>NSAppTransportSecurity</key>
|
|
290
240
|
<dict>
|
|
291
241
|
<key>NSAllowsArbitraryLoads</key>
|
|
242
|
+
<false/>
|
|
243
|
+
<key>NSAllowsLocalNetworking</key>
|
|
292
244
|
<true/>
|
|
293
|
-
<key>NSExceptionDomains</key>
|
|
294
|
-
<dict>
|
|
295
|
-
<key>localhost</key>
|
|
296
|
-
<dict>
|
|
297
|
-
<key>NSExceptionAllowsInsecureHTTPLoads</key>
|
|
298
|
-
<true/>
|
|
299
|
-
</dict>
|
|
300
|
-
</dict>
|
|
301
245
|
</dict>
|
|
302
246
|
<key>NSUserTrackingUsageDescription</key>
|
|
303
247
|
<string>TestUserTrackingUsageDescription</string>
|
|
248
|
+
<key>RCTNewArchEnabled</key>
|
|
249
|
+
<true/>
|
|
304
250
|
<key>SKAdNetworkItems</key>
|
|
305
251
|
<array>
|
|
306
252
|
<dict>
|
|
@@ -316,7 +262,7 @@ exports[`Expo Config Plugin Tests Should modify Info.plist 1`] = `
|
|
|
316
262
|
<string>SplashScreen</string>
|
|
317
263
|
<key>UIRequiredDeviceCapabilities</key>
|
|
318
264
|
<array>
|
|
319
|
-
<string>
|
|
265
|
+
<string>arm64</string>
|
|
320
266
|
</array>
|
|
321
267
|
<key>UIRequiresFullScreen</key>
|
|
322
268
|
<false/>
|
|
@@ -329,13 +275,6 @@ exports[`Expo Config Plugin Tests Should modify Info.plist 1`] = `
|
|
|
329
275
|
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
330
276
|
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
331
277
|
</array>
|
|
332
|
-
<key>UISupportedInterfaceOrientations~ipad</key>
|
|
333
|
-
<array>
|
|
334
|
-
<string>UIInterfaceOrientationPortrait</string>
|
|
335
|
-
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
|
336
|
-
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
337
|
-
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
338
|
-
</array>
|
|
339
278
|
<key>UIUserInterfaceStyle</key>
|
|
340
279
|
<string>Light</string>
|
|
341
280
|
<key>UIViewControllerBasedStatusBarAppearance</key>
|
|
@@ -349,6 +288,8 @@ exports[`Expo Config Plugin Tests Should modify Info.plist 2`] = `
|
|
|
349
288
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
350
289
|
<plist version="1.0">
|
|
351
290
|
<dict>
|
|
291
|
+
<key>CADisableMinimumFrameDurationOnPhone</key>
|
|
292
|
+
<true/>
|
|
352
293
|
<key>CFBundleDevelopmentRegion</key>
|
|
353
294
|
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
|
354
295
|
<key>CFBundleDisplayName</key>
|
|
@@ -382,23 +323,21 @@ exports[`Expo Config Plugin Tests Should modify Info.plist 2`] = `
|
|
|
382
323
|
<string>TestIosId</string>
|
|
383
324
|
<key>GADDelayAppMeasurementInit</key>
|
|
384
325
|
<true/>
|
|
326
|
+
<key>LSMinimumSystemVersion</key>
|
|
327
|
+
<string>12.0</string>
|
|
385
328
|
<key>LSRequiresIPhoneOS</key>
|
|
386
329
|
<true/>
|
|
387
330
|
<key>NSAppTransportSecurity</key>
|
|
388
331
|
<dict>
|
|
389
332
|
<key>NSAllowsArbitraryLoads</key>
|
|
333
|
+
<false/>
|
|
334
|
+
<key>NSAllowsLocalNetworking</key>
|
|
390
335
|
<true/>
|
|
391
|
-
<key>NSExceptionDomains</key>
|
|
392
|
-
<dict>
|
|
393
|
-
<key>localhost</key>
|
|
394
|
-
<dict>
|
|
395
|
-
<key>NSExceptionAllowsInsecureHTTPLoads</key>
|
|
396
|
-
<true/>
|
|
397
|
-
</dict>
|
|
398
|
-
</dict>
|
|
399
336
|
</dict>
|
|
400
337
|
<key>NSUserTrackingUsageDescription</key>
|
|
401
338
|
<string>TestUserTrackingUsageDescription</string>
|
|
339
|
+
<key>RCTNewArchEnabled</key>
|
|
340
|
+
<true/>
|
|
402
341
|
<key>SKAdNetworkItems</key>
|
|
403
342
|
<array>
|
|
404
343
|
<dict>
|
|
@@ -414,7 +353,7 @@ exports[`Expo Config Plugin Tests Should modify Info.plist 2`] = `
|
|
|
414
353
|
<string>SplashScreen</string>
|
|
415
354
|
<key>UIRequiredDeviceCapabilities</key>
|
|
416
355
|
<array>
|
|
417
|
-
<string>
|
|
356
|
+
<string>arm64</string>
|
|
418
357
|
</array>
|
|
419
358
|
<key>UIRequiresFullScreen</key>
|
|
420
359
|
<false/>
|
|
@@ -427,13 +366,6 @@ exports[`Expo Config Plugin Tests Should modify Info.plist 2`] = `
|
|
|
427
366
|
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
428
367
|
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
429
368
|
</array>
|
|
430
|
-
<key>UISupportedInterfaceOrientations~ipad</key>
|
|
431
|
-
<array>
|
|
432
|
-
<string>UIInterfaceOrientationPortrait</string>
|
|
433
|
-
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
|
434
|
-
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
435
|
-
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
436
|
-
</array>
|
|
437
369
|
<key>UIUserInterfaceStyle</key>
|
|
438
370
|
<string>Light</string>
|
|
439
371
|
<key>UIViewControllerBasedStatusBarAppearance</key>
|
|
@@ -447,6 +379,8 @@ exports[`Expo Config Plugin Tests Should modify Info.plist 3`] = `
|
|
|
447
379
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
448
380
|
<plist version="1.0">
|
|
449
381
|
<dict>
|
|
382
|
+
<key>CADisableMinimumFrameDurationOnPhone</key>
|
|
383
|
+
<true/>
|
|
450
384
|
<key>CFBundleDevelopmentRegion</key>
|
|
451
385
|
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
|
452
386
|
<key>CFBundleDisplayName</key>
|
|
@@ -480,23 +414,21 @@ exports[`Expo Config Plugin Tests Should modify Info.plist 3`] = `
|
|
|
480
414
|
<string>TestIosId</string>
|
|
481
415
|
<key>GADDelayAppMeasurementInit</key>
|
|
482
416
|
<true/>
|
|
417
|
+
<key>LSMinimumSystemVersion</key>
|
|
418
|
+
<string>12.0</string>
|
|
483
419
|
<key>LSRequiresIPhoneOS</key>
|
|
484
420
|
<true/>
|
|
485
421
|
<key>NSAppTransportSecurity</key>
|
|
486
422
|
<dict>
|
|
487
423
|
<key>NSAllowsArbitraryLoads</key>
|
|
424
|
+
<false/>
|
|
425
|
+
<key>NSAllowsLocalNetworking</key>
|
|
488
426
|
<true/>
|
|
489
|
-
<key>NSExceptionDomains</key>
|
|
490
|
-
<dict>
|
|
491
|
-
<key>localhost</key>
|
|
492
|
-
<dict>
|
|
493
|
-
<key>NSExceptionAllowsInsecureHTTPLoads</key>
|
|
494
|
-
<true/>
|
|
495
|
-
</dict>
|
|
496
|
-
</dict>
|
|
497
427
|
</dict>
|
|
498
428
|
<key>NSUserTrackingUsageDescription</key>
|
|
499
429
|
<string>TestUserTrackingUsageDescription</string>
|
|
430
|
+
<key>RCTNewArchEnabled</key>
|
|
431
|
+
<true/>
|
|
500
432
|
<key>SKAdNetworkItems</key>
|
|
501
433
|
<array>
|
|
502
434
|
<dict>
|
|
@@ -512,7 +444,7 @@ exports[`Expo Config Plugin Tests Should modify Info.plist 3`] = `
|
|
|
512
444
|
<string>SplashScreen</string>
|
|
513
445
|
<key>UIRequiredDeviceCapabilities</key>
|
|
514
446
|
<array>
|
|
515
|
-
<string>
|
|
447
|
+
<string>arm64</string>
|
|
516
448
|
</array>
|
|
517
449
|
<key>UIRequiresFullScreen</key>
|
|
518
450
|
<false/>
|
|
@@ -525,13 +457,6 @@ exports[`Expo Config Plugin Tests Should modify Info.plist 3`] = `
|
|
|
525
457
|
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
526
458
|
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
527
459
|
</array>
|
|
528
|
-
<key>UISupportedInterfaceOrientations~ipad</key>
|
|
529
|
-
<array>
|
|
530
|
-
<string>UIInterfaceOrientationPortrait</string>
|
|
531
|
-
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
|
532
|
-
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
533
|
-
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
534
|
-
</array>
|
|
535
460
|
<key>UIUserInterfaceStyle</key>
|
|
536
461
|
<string>Light</string>
|
|
537
462
|
<key>UIViewControllerBasedStatusBarAppearance</key>
|
|
@@ -545,6 +470,8 @@ exports[`Expo Config Plugin Tests Should modify Info.plist idempotently 1`] = `
|
|
|
545
470
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
546
471
|
<plist version="1.0">
|
|
547
472
|
<dict>
|
|
473
|
+
<key>CADisableMinimumFrameDurationOnPhone</key>
|
|
474
|
+
<true/>
|
|
548
475
|
<key>CFBundleDevelopmentRegion</key>
|
|
549
476
|
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
|
550
477
|
<key>CFBundleDisplayName</key>
|
|
@@ -578,23 +505,21 @@ exports[`Expo Config Plugin Tests Should modify Info.plist idempotently 1`] = `
|
|
|
578
505
|
<string>TestIosId</string>
|
|
579
506
|
<key>GADDelayAppMeasurementInit</key>
|
|
580
507
|
<true/>
|
|
508
|
+
<key>LSMinimumSystemVersion</key>
|
|
509
|
+
<string>12.0</string>
|
|
581
510
|
<key>LSRequiresIPhoneOS</key>
|
|
582
511
|
<true/>
|
|
583
512
|
<key>NSAppTransportSecurity</key>
|
|
584
513
|
<dict>
|
|
585
514
|
<key>NSAllowsArbitraryLoads</key>
|
|
515
|
+
<false/>
|
|
516
|
+
<key>NSAllowsLocalNetworking</key>
|
|
586
517
|
<true/>
|
|
587
|
-
<key>NSExceptionDomains</key>
|
|
588
|
-
<dict>
|
|
589
|
-
<key>localhost</key>
|
|
590
|
-
<dict>
|
|
591
|
-
<key>NSExceptionAllowsInsecureHTTPLoads</key>
|
|
592
|
-
<true/>
|
|
593
|
-
</dict>
|
|
594
|
-
</dict>
|
|
595
518
|
</dict>
|
|
596
519
|
<key>NSUserTrackingUsageDescription</key>
|
|
597
520
|
<string>TestUserTrackingUsageDescription</string>
|
|
521
|
+
<key>RCTNewArchEnabled</key>
|
|
522
|
+
<true/>
|
|
598
523
|
<key>SKAdNetworkItems</key>
|
|
599
524
|
<array>
|
|
600
525
|
<dict>
|
|
@@ -610,7 +535,7 @@ exports[`Expo Config Plugin Tests Should modify Info.plist idempotently 1`] = `
|
|
|
610
535
|
<string>SplashScreen</string>
|
|
611
536
|
<key>UIRequiredDeviceCapabilities</key>
|
|
612
537
|
<array>
|
|
613
|
-
<string>
|
|
538
|
+
<string>arm64</string>
|
|
614
539
|
</array>
|
|
615
540
|
<key>UIRequiresFullScreen</key>
|
|
616
541
|
<false/>
|
|
@@ -623,13 +548,6 @@ exports[`Expo Config Plugin Tests Should modify Info.plist idempotently 1`] = `
|
|
|
623
548
|
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
624
549
|
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
625
550
|
</array>
|
|
626
|
-
<key>UISupportedInterfaceOrientations~ipad</key>
|
|
627
|
-
<array>
|
|
628
|
-
<string>UIInterfaceOrientationPortrait</string>
|
|
629
|
-
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
|
630
|
-
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
631
|
-
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
632
|
-
</array>
|
|
633
551
|
<key>UIUserInterfaceStyle</key>
|
|
634
552
|
<string>Light</string>
|
|
635
553
|
<key>UIViewControllerBasedStatusBarAppearance</key>
|
|
@@ -643,6 +561,8 @@ exports[`Expo Config Plugin Tests Should modify Info.plist idempotently 2`] = `
|
|
|
643
561
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
644
562
|
<plist version="1.0">
|
|
645
563
|
<dict>
|
|
564
|
+
<key>CADisableMinimumFrameDurationOnPhone</key>
|
|
565
|
+
<true/>
|
|
646
566
|
<key>CFBundleDevelopmentRegion</key>
|
|
647
567
|
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
|
648
568
|
<key>CFBundleDisplayName</key>
|
|
@@ -676,23 +596,21 @@ exports[`Expo Config Plugin Tests Should modify Info.plist idempotently 2`] = `
|
|
|
676
596
|
<string>TestIosId</string>
|
|
677
597
|
<key>GADDelayAppMeasurementInit</key>
|
|
678
598
|
<true/>
|
|
599
|
+
<key>LSMinimumSystemVersion</key>
|
|
600
|
+
<string>12.0</string>
|
|
679
601
|
<key>LSRequiresIPhoneOS</key>
|
|
680
602
|
<true/>
|
|
681
603
|
<key>NSAppTransportSecurity</key>
|
|
682
604
|
<dict>
|
|
683
605
|
<key>NSAllowsArbitraryLoads</key>
|
|
606
|
+
<false/>
|
|
607
|
+
<key>NSAllowsLocalNetworking</key>
|
|
684
608
|
<true/>
|
|
685
|
-
<key>NSExceptionDomains</key>
|
|
686
|
-
<dict>
|
|
687
|
-
<key>localhost</key>
|
|
688
|
-
<dict>
|
|
689
|
-
<key>NSExceptionAllowsInsecureHTTPLoads</key>
|
|
690
|
-
<true/>
|
|
691
|
-
</dict>
|
|
692
|
-
</dict>
|
|
693
609
|
</dict>
|
|
694
610
|
<key>NSUserTrackingUsageDescription</key>
|
|
695
611
|
<string>TestUserTrackingUsageDescription</string>
|
|
612
|
+
<key>RCTNewArchEnabled</key>
|
|
613
|
+
<true/>
|
|
696
614
|
<key>SKAdNetworkItems</key>
|
|
697
615
|
<array>
|
|
698
616
|
<dict>
|
|
@@ -708,7 +626,7 @@ exports[`Expo Config Plugin Tests Should modify Info.plist idempotently 2`] = `
|
|
|
708
626
|
<string>SplashScreen</string>
|
|
709
627
|
<key>UIRequiredDeviceCapabilities</key>
|
|
710
628
|
<array>
|
|
711
|
-
<string>
|
|
629
|
+
<string>arm64</string>
|
|
712
630
|
</array>
|
|
713
631
|
<key>UIRequiresFullScreen</key>
|
|
714
632
|
<false/>
|
|
@@ -721,13 +639,6 @@ exports[`Expo Config Plugin Tests Should modify Info.plist idempotently 2`] = `
|
|
|
721
639
|
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
722
640
|
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
723
641
|
</array>
|
|
724
|
-
<key>UISupportedInterfaceOrientations~ipad</key>
|
|
725
|
-
<array>
|
|
726
|
-
<string>UIInterfaceOrientationPortrait</string>
|
|
727
|
-
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
|
728
|
-
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
729
|
-
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
730
|
-
</array>
|
|
731
642
|
<key>UIUserInterfaceStyle</key>
|
|
732
643
|
<string>Light</string>
|
|
733
644
|
<key>UIViewControllerBasedStatusBarAppearance</key>
|
|
@@ -741,6 +652,8 @@ exports[`Expo Config Plugin Tests Should modify Info.plist idempotently 3`] = `
|
|
|
741
652
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
742
653
|
<plist version="1.0">
|
|
743
654
|
<dict>
|
|
655
|
+
<key>CADisableMinimumFrameDurationOnPhone</key>
|
|
656
|
+
<true/>
|
|
744
657
|
<key>CFBundleDevelopmentRegion</key>
|
|
745
658
|
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
|
746
659
|
<key>CFBundleDisplayName</key>
|
|
@@ -774,23 +687,21 @@ exports[`Expo Config Plugin Tests Should modify Info.plist idempotently 3`] = `
|
|
|
774
687
|
<string>TestIosId</string>
|
|
775
688
|
<key>GADDelayAppMeasurementInit</key>
|
|
776
689
|
<true/>
|
|
690
|
+
<key>LSMinimumSystemVersion</key>
|
|
691
|
+
<string>12.0</string>
|
|
777
692
|
<key>LSRequiresIPhoneOS</key>
|
|
778
693
|
<true/>
|
|
779
694
|
<key>NSAppTransportSecurity</key>
|
|
780
695
|
<dict>
|
|
781
696
|
<key>NSAllowsArbitraryLoads</key>
|
|
697
|
+
<false/>
|
|
698
|
+
<key>NSAllowsLocalNetworking</key>
|
|
782
699
|
<true/>
|
|
783
|
-
<key>NSExceptionDomains</key>
|
|
784
|
-
<dict>
|
|
785
|
-
<key>localhost</key>
|
|
786
|
-
<dict>
|
|
787
|
-
<key>NSExceptionAllowsInsecureHTTPLoads</key>
|
|
788
|
-
<true/>
|
|
789
|
-
</dict>
|
|
790
|
-
</dict>
|
|
791
700
|
</dict>
|
|
792
701
|
<key>NSUserTrackingUsageDescription</key>
|
|
793
702
|
<string>TestUserTrackingUsageDescription</string>
|
|
703
|
+
<key>RCTNewArchEnabled</key>
|
|
704
|
+
<true/>
|
|
794
705
|
<key>SKAdNetworkItems</key>
|
|
795
706
|
<array>
|
|
796
707
|
<dict>
|
|
@@ -806,7 +717,7 @@ exports[`Expo Config Plugin Tests Should modify Info.plist idempotently 3`] = `
|
|
|
806
717
|
<string>SplashScreen</string>
|
|
807
718
|
<key>UIRequiredDeviceCapabilities</key>
|
|
808
719
|
<array>
|
|
809
|
-
<string>
|
|
720
|
+
<string>arm64</string>
|
|
810
721
|
</array>
|
|
811
722
|
<key>UIRequiresFullScreen</key>
|
|
812
723
|
<false/>
|
|
@@ -819,13 +730,6 @@ exports[`Expo Config Plugin Tests Should modify Info.plist idempotently 3`] = `
|
|
|
819
730
|
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
820
731
|
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
821
732
|
</array>
|
|
822
|
-
<key>UISupportedInterfaceOrientations~ipad</key>
|
|
823
|
-
<array>
|
|
824
|
-
<string>UIInterfaceOrientationPortrait</string>
|
|
825
|
-
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
|
826
|
-
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
827
|
-
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
828
|
-
</array>
|
|
829
733
|
<key>UIUserInterfaceStyle</key>
|
|
830
734
|
<string>Light</string>
|
|
831
735
|
<key>UIViewControllerBasedStatusBarAppearance</key>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"root":["./src/index.ts"],"version":"5.9.3"}
|