Skip to content

Commit 7ddc935

Browse files
feat: v3 (#188)
* feat: v3 chore(ios): bump pods 10.7.0 chore(android): bump dom deps 31.2.3 chore(android): move package native-src into platforms note min iOS bump 12 note min Android bump 19 * Update CHANGELOG.md * chore: nx migrate @nativescript/plugin-tools * release: 3.0.0 * chore: cleanup --------- Co-authored-by: Nathan Walker <[email protected]>
1 parent 388c3bd commit 7ddc935

File tree

735 files changed

+2164
-13980
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

735 files changed

+2164
-13980
lines changed

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

CHANGELOG.md

+16
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# [3.0.0-alpha.0](https://github.com/nativescript/firebase/compare/2.5.2...3.0.0-alpha.0) (2023-03-23)
2+
3+
4+
### Bug Fixes
5+
6+
* **crashlytics/ios:** record stacktrace for JS errors ([#177](https://github.com/nativescript/firebase/issues/177)) ([155cae4](https://github.com/nativescript/firebase/commit/155cae441ba3ffe7c2038d410edcb7a6de990f9f))
7+
* remove buildShortDynamicLink call ([#179](https://github.com/nativescript/firebase/issues/179)) ([85c3a4f](https://github.com/nativescript/firebase/commit/85c3a4f53ea744a099013c0894a215552cb5ccbc))
8+
9+
10+
### Features
11+
12+
* **dynamic-links:** forward errors to application ([#176](https://github.com/nativescript/firebase/issues/176)) ([a50026e](https://github.com/nativescript/firebase/commit/a50026e59392d2733989f07523d0fc26eb062654))
13+
* v3 ([0eebaa7](https://github.com/nativescript/firebase/commit/0eebaa7fa5fbf5889d0220e0c1bf2ea454fb18ee))
14+
15+
16+
117
## [2.5.2](https://github.com/nativescript/firebase/compare/2.5.1...2.5.2) (2022-12-27)
218

319

package.json

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "plugins",
3-
"version": "2.5.2",
3+
"version": "3.0.0",
44
"license": "MIT",
55
"scripts": {
66
"postinstall": "husky install && npx ts-patch install",
@@ -29,21 +29,20 @@
2929
"@angular/router": "^15.0.0",
3030
"@nativescript/angular": "^15.0.0",
3131
"@nativescript/core": "~8.4.0",
32-
"@nativescript/plugin-tools": "5.0.2",
32+
"@nativescript/plugin-tools": "5.1.0",
3333
"@nativescript/types": "~8.4.0",
3434
"@nativescript/webpack": "~5.0.5",
3535
"@ngtools/webpack": "^15.0.0",
3636
"conventional-changelog-cli": "^2.2.2",
3737
"husky": "^8.0.0",
38-
"nativescript-permissions": "1.3.11",
3938
"nativescript-vue": "~2.9.0",
4039
"nativescript-vue-template-compiler": "~2.9.0",
4140
"ng-packagr": "^15.0.0",
42-
"rxjs": "~7.5.0",
41+
"rxjs": "~7.6.0",
4342
"stacktrace-js": "~2.0.2",
4443
"typescript": "~4.8.0",
4544
"vue": "~2.6.12",
46-
"zone.js": "~0.11.1"
45+
"zone.js": "~0.13.0"
4746
},
4847
"lint-staged": {
4948
"**/*.{js,ts,scss,json,html}": [

packages/firebase-admob/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nativescript/firebase-admob",
3-
"version": "2.5.2",
3+
"version": "3.0.0",
44
"description": "NativeScript Firebase - Admob",
55
"main": "index",
66
"typings": "index.d.ts",

packages/firebase-admob/src-native/android/admob/src/main/AndroidManifest.xml renamed to packages/firebase-admob/platforms/android/AndroidManifest.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="org.nativescript.firebase.admob">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
43

54
<uses-permission android:name="android.permission.INTERNET" />
65
<application android:hardwareAccelerated="true" />
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
dependencies {
2-
implementation 'com.google.android.gms:play-services-ads:20.6.0'
2+
implementation 'com.google.android.gms:play-services-ads:21.5.0'
33
implementation 'com.google.android.ump:user-messaging-platform:2.0.0'
4+
implementation 'androidx.core:core-ktx:1.6.0'
45
}
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,6 @@ private const val ADMOB_ID_KEY = "adMobAppId"
8989

9090
private const val CONTENT_URL_KEY = "contentUrl"
9191
private const val KEYWORDS_KEY = "keywords"
92-
private const val LOCATION_KEY = "location"
93-
private const val LOCATION_LATITUDE_KEY = "lat"
94-
private const val LOCATION_LONGITUDE_KEY = "lon"
95-
private const val LOCATION_ACCURACY_KEY = "locationAccuracy"
9692
private const val NETWORK_EXTRAS_KEY = "networkExtras"
9793
private const val REQUEST_AGENT_KEY = "requestAgent"
9894
private const val REQUEST_NON_PERSONALIZED_ADS_ONLY_KEY = "requestNonPersonalizedAdsOnly"
@@ -804,22 +800,6 @@ class FirebaseAdmob {
804800
}
805801
}
806802

807-
json.optJSONObject(LOCATION_KEY)?.let {
808-
val location = Location("")
809-
if (it.has(LOCATION_LATITUDE_KEY)) {
810-
location.latitude = it.getDouble(LOCATION_LATITUDE_KEY)
811-
}
812-
813-
if (it.has(LOCATION_LONGITUDE_KEY)) {
814-
location.longitude = it.getDouble(LOCATION_LONGITUDE_KEY)
815-
}
816-
817-
if (it.has(LOCATION_ACCURACY_KEY)) {
818-
location.accuracy = it.getDouble(LOCATION_ACCURACY_KEY).toFloat()
819-
}
820-
adRequest.setLocation(location)
821-
}
822-
823803
val extras = Bundle()
824804

825805

Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
use_frameworks!
2-
pod 'Google-Mobile-Ads-SDK', '~> 9.10.0'
2+
pod 'Google-Mobile-Ads-SDK', '~> 10.2.0'

packages/firebase-admob/src-native/android/.gitignore

-15
This file was deleted.

packages/firebase-admob/src-native/android/.idea/.gitignore

-3
This file was deleted.

packages/firebase-admob/src-native/android/.idea/.name

-1
This file was deleted.

packages/firebase-admob/src-native/android/.idea/bolt.plugin.state.pref

-10
This file was deleted.

packages/firebase-admob/src-native/android/.idea/compiler.xml

-6
This file was deleted.

packages/firebase-admob/src-native/android/.idea/gradle.xml

-22
This file was deleted.

packages/firebase-admob/src-native/android/.idea/misc.xml

-9
This file was deleted.

packages/firebase-admob/src-native/android/.idea/vcs.xml

-6
This file was deleted.

0 commit comments

Comments
 (0)