react-native-google-mobile-ads 8.0.1 → 8.1.1

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.
@@ -38,7 +38,7 @@ The hook returns several states and functions to control ad.
38
38
  import { useInterstitialAd, TestIds } from 'react-native-google-mobile-ads';
39
39
 
40
40
  export default function App({ navigation }) {
41
- const { isLoaded, isClosed, load, show } = useInterstitialAd(TestIds.Interstitial, {
41
+ const { isLoaded, isClosed, load, show } = useInterstitialAd(TestIds.INTERSTITIAL, {
42
42
  requestNonPersonalizedAdsOnly: true,
43
43
  });
44
44
 
package/ios_config.sh CHANGED
@@ -41,7 +41,7 @@ function setPlistValue {
41
41
 
42
42
  function getJsonKeyValue () {
43
43
  if [[ ${_RN_ROOT_EXISTS} ]]; then
44
- ruby -e "require 'rubygems';require 'json'; output=JSON.parse('$1'); puts output[$_JSON_ROOT]['$2']"
44
+ ruby -KU -e "require 'rubygems';require 'json'; output=JSON.parse('$1'); puts output[$_JSON_ROOT]['$2']"
45
45
  else
46
46
  echo ""
47
47
  fi;
@@ -77,7 +77,7 @@ done
77
77
 
78
78
  if [[ ${_SEARCH_RESULT} ]]; then
79
79
  _JSON_OUTPUT_RAW=$(cat "${_SEARCH_RESULT}")
80
- _RN_ROOT_EXISTS=$(ruby -e "require 'rubygems';require 'json'; output=JSON.parse('$_JSON_OUTPUT_RAW'); puts output[$_JSON_ROOT]" || echo '')
80
+ _RN_ROOT_EXISTS=$(ruby -KU -e "require 'rubygems';require 'json'; output=JSON.parse('$_JSON_OUTPUT_RAW'); puts output[$_JSON_ROOT]" || echo '')
81
81
 
82
82
  if [[ ${_RN_ROOT_EXISTS} ]]; then
83
83
  if ! python3 --version >/dev/null 2>&1; then echo "python3 not found, app.json file processing error." && exit 1; fi
@@ -131,7 +131,7 @@ if ! [[ -f "${_TARGET_PLIST}" ]]; then
131
131
  fi
132
132
 
133
133
  if ! [[ $_IOS_APP_ID ]]; then
134
- echo "error: ios_appd_id key not found in react-native-google-mobile-ads key in app.json. App will crash without it."
134
+ echo "error: ios_app_id key not found in react-native-google-mobile-ads key in app.json. App will crash without it."
135
135
  exit 1
136
136
  fi
137
137
 
@@ -5,6 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = void 0;
7
7
  // Generated by genversion.
8
- const version = '8.0.1';
8
+ const version = '8.1.1';
9
9
  exports.version = version;
10
10
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["version.ts"],"names":["version"],"mappings":";;;;;;AAAA;AACO,MAAMA,OAAO,GAAG,OAAhB","sourcesContent":["// Generated by genversion.\nexport const version = '8.0.1';\n"]}
1
+ {"version":3,"sources":["version.ts"],"names":["version"],"mappings":";;;;;;AAAA;AACO,MAAMA,OAAO,GAAG,OAAhB","sourcesContent":["// Generated by genversion.\nexport const version = '8.1.1';\n"]}
@@ -1,3 +1,3 @@
1
1
  // Generated by genversion.
2
- export const version = '8.0.1';
2
+ export const version = '8.1.1';
3
3
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["version.ts"],"names":["version"],"mappings":"AAAA;AACA,OAAO,MAAMA,OAAO,GAAG,OAAhB","sourcesContent":["// Generated by genversion.\nexport const version = '8.0.1';\n"]}
1
+ {"version":3,"sources":["version.ts"],"names":["version"],"mappings":"AAAA;AACA,OAAO,MAAMA,OAAO,GAAG,OAAhB","sourcesContent":["// Generated by genversion.\nexport const version = '8.1.1';\n"]}
@@ -1,4 +1,4 @@
1
- export declare const SDK_VERSION = "8.0.1";
1
+ export declare const SDK_VERSION = "8.1.1";
2
2
  export { default, MobileAds } from './MobileAds';
3
3
  export { AdsConsentDebugGeography } from './AdsConsentDebugGeography';
4
4
  export { AdsConsentPurposes } from './AdsConsentPurposes';
@@ -1 +1 @@
1
- export declare const version = "8.0.1";
1
+ export declare const version = "8.1.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-google-mobile-ads",
3
- "version": "8.0.1",
3
+ "version": "8.1.1",
4
4
  "author": "Invertase <oss@invertase.io> (http://invertase.io)",
5
5
  "description": "React Native Google Mobile Ads is an easy way to monetize mobile apps with targeted, in-app advertising.",
6
6
  "main": "lib/commonjs/index.js",
@@ -41,7 +41,7 @@
41
41
  ],
42
42
  "sdkVersions": {
43
43
  "ios": {
44
- "googleMobileAds": "9.9.0",
44
+ "googleMobileAds": "9.10.0",
45
45
  "googleUmp": "2.0.0"
46
46
  },
47
47
  "android": {
@@ -49,7 +49,7 @@
49
49
  "targetSdk": 30,
50
50
  "compileSdk": 31,
51
51
  "buildTools": "31.0.0",
52
- "googleMobileAds": "21.1.0",
52
+ "googleMobileAds": "21.2.0",
53
53
  "googleUmp": "2.0.0"
54
54
  }
55
55
  },
@@ -80,6 +80,7 @@
80
80
  "tests:jest": "jest",
81
81
  "tests:jest-watch": "jest --watch",
82
82
  "tests:jest-coverage": "jest --coverage",
83
+ "tests:install": "cd RNGoogleMobileAdsExample && yarn",
83
84
  "tests:packager": "cd RNGoogleMobileAdsExample && yarn react-native start",
84
85
  "tests:packager:reset-cache": "cd RNGoogleMobileAdsExample && yarn react-native start --reset-cache",
85
86
  "tests:android:build": "cd RNGoogleMobileAdsExample && yarn detox build --configuration android.emu.debug",
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '8.0.1';
2
+ export const version = '8.1.1';