Skip to content

Commit 0636cd4

Browse files
committed
feat: bump libs
ios: 10.20.0 android: bom 32.7.2
1 parent 132d1f6 commit 0636cd4

File tree

86 files changed

+1247
-829
lines changed

Some content is hidden

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

86 files changed

+1247
-829
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "plugins",
3-
"version": "3.2.0",
3+
"version": "3.2.1",
44
"license": "MIT",
55
"scripts": {
66
"postinstall": "husky install && npx ts-patch install",

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": "3.2.0",
3+
"version": "3.2.1",
44
"description": "NativeScript Firebase - Admob",
55
"main": "index",
66
"typings": "index.d.ts",
Binary file not shown.

packages/firebase-analytics/index.android.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export class Analytics implements IAnalytics {
144144
}
145145

146146
setConsent(consentSettings: Map<ConsentType, ConsentStatus>): void {
147-
const nativeMap = new java.util.HashMap();
147+
const nativeMap = new java.util.HashMap(consentSettings?.size ?? 0);
148148

149149
consentSettings.forEach((value, key) => {
150150
let nativeKey;

packages/firebase-analytics/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nativescript/firebase-analytics",
3-
"version": "3.2.0",
3+
"version": "3.2.1",
44
"description": "NativeScript Firebase - Analytics",
55
"main": "index",
66
"typings": "index.d.ts",
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dependencies {
2-
def computeFirebaseBomVersion = { -> project.hasProperty("firebaseBomVersion") ? firebaseBomVersion : "32.3.1" }
2+
def computeFirebaseBomVersion = { -> project.hasProperty("firebaseBomVersion") ? firebaseBomVersion : "32.7.2" }
33
implementation platform("com.google.firebase:firebase-bom:${computeFirebaseBomVersion}")
44
implementation 'com.google.firebase:firebase-analytics'
55
}

packages/firebase-analytics/platforms/ios/Podfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ platform :ios, '12.0'
44
if defined?($NSFirebaseAnalyticsWithoutAdIdSupport)
55
Pod::UI.puts "Using Firebase/AnalyticsWithoutAdIdSupport pod in place of default Firebase/Analytics"
66

7-
pod 'Firebase/AnalyticsWithoutAdIdSupport', '~>10.13.0'
7+
pod 'Firebase/AnalyticsWithoutAdIdSupport', '~>10.20.0'
88
else
99
Pod::UI.puts "Using default Firebase/Analytics with Ad Ids. May require App Tracking Transparency. Not allowed for Kids apps."
1010
Pod::UI.puts "You may set variable `$NSFirebaseAnalyticsWithoutAdIdSupport=true` in Podfile to use analytics without ad ids."
11-
pod 'Firebase/Analytics', '~>10.13.0'
11+
pod 'Firebase/Analytics', '~>10.20.0'
1212
end

packages/firebase-analytics/typings/android.d.ts

+200-108
Large diffs are not rendered by default.

packages/firebase-analytics/typings/objc!FirebaseAnalytics.d.ts

+6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ declare class FIRAnalytics extends NSObject {
1111

1212
static initiateOnDeviceConversionMeasurementWithEmailAddress(emailAddress: string): void;
1313

14+
static initiateOnDeviceConversionMeasurementWithPhoneNumber(phoneNumber: string): void;
15+
1416
static logEventWithNameParameters(name: string, parameters: NSDictionary<string, any>): void;
1517

1618
static new(): FIRAnalytics; // inherited from NSObject
@@ -36,8 +38,12 @@ declare var FIRConsentStatusDenied: string;
3638

3739
declare var FIRConsentStatusGranted: string;
3840

41+
declare var FIRConsentTypeAdPersonalization: string;
42+
3943
declare var FIRConsentTypeAdStorage: string;
4044

45+
declare var FIRConsentTypeAdUserData: string;
46+
4147
declare var FIRConsentTypeAnalyticsStorage: string;
4248

4349
declare var FirebaseAnalyticsVersionNumber: number;

packages/firebase-app-check-debug/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nativescript/firebase-app-check-debug",
3-
"version": "3.2.0",
3+
"version": "3.2.1",
44
"description": "NativeScript Firebase - App Check",
55
"main": "index",
66
"typings": "index.d.ts",
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dependencies {
2-
def computeFirebaseBomVersion = { -> project.hasProperty("firebaseBomVersion") ? firebaseBomVersion : "32.3.1" }
2+
def computeFirebaseBomVersion = { -> project.hasProperty("firebaseBomVersion") ? firebaseBomVersion : "32.7.2" }
33
implementation platform("com.google.firebase:firebase-bom:${computeFirebaseBomVersion}")
44
implementation 'com.google.firebase:firebase-appcheck-debug'
55
}
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
platform :ios, '12.0'
2-
pod 'Firebase/AppCheck', '~>10.13.0'
2+
pod 'Firebase/AppCheck', '~>10.20.0'

packages/firebase-app-check-debug/typings/objc!FirebaseAppCheck.d.ts

+54-23
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
21
declare class FIRAppAttestProvider extends NSObject implements FIRAppCheckProvider {
3-
42
static alloc(): FIRAppAttestProvider; // inherited from NSObject
53

64
static new(): FIRAppAttestProvider; // inherited from NSObject
@@ -15,14 +13,16 @@ declare class FIRAppAttestProvider extends NSObject implements FIRAppCheckProvid
1513

1614
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
1715

18-
readonly // inherited from NSObjectProtocol
16+
readonly; // inherited from NSObjectProtocol
1917

20-
constructor(o: { app: FIRApp; });
18+
constructor(o: { app: FIRApp });
2119

2220
class(): typeof NSObject;
2321

2422
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
2523

24+
getLimitedUseTokenWithCompletion(handler: (p1: FIRAppCheckToken, p2: NSError) => void): void;
25+
2626
getTokenWithCompletion(handler: (p1: FIRAppCheckToken, p2: NSError) => void): void;
2727

2828
initWithApp(app: FIRApp): this;
@@ -46,8 +46,7 @@ declare class FIRAppAttestProvider extends NSObject implements FIRAppCheckProvid
4646
self(): this;
4747
}
4848

49-
declare class FIRAppCheck extends NSObject {
50-
49+
declare class FIRAppCheck extends NSObject implements FIRAppCheckProtocol {
5150
static alloc(): FIRAppCheck; // inherited from NSObject
5251

5352
static appCheck(): FIRAppCheck;
@@ -60,13 +59,48 @@ declare class FIRAppCheck extends NSObject {
6059

6160
isTokenAutoRefreshEnabled: boolean;
6261

62+
readonly debugDescription: string; // inherited from NSObjectProtocol
63+
64+
readonly description: string; // inherited from NSObjectProtocol
65+
66+
readonly hash: number; // inherited from NSObjectProtocol
67+
68+
readonly isProxy: boolean; // inherited from NSObjectProtocol
69+
70+
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
71+
72+
readonly; // inherited from NSObjectProtocol
73+
74+
class(): typeof NSObject;
75+
76+
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
77+
78+
isEqual(object: any): boolean;
79+
80+
isKindOfClass(aClass: typeof NSObject): boolean;
81+
82+
isMemberOfClass(aClass: typeof NSObject): boolean;
83+
84+
limitedUseTokenWithCompletion(handler: (p1: FIRAppCheckToken, p2: NSError) => void): void;
85+
86+
performSelector(aSelector: string): any;
87+
88+
performSelectorWithObject(aSelector: string, object: any): any;
89+
90+
performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
91+
92+
respondsToSelector(aSelector: string): boolean;
93+
94+
retainCount(): number;
95+
96+
self(): this;
97+
6398
tokenForcingRefreshCompletion(forcingRefresh: boolean, handler: (p1: FIRAppCheckToken, p2: NSError) => void): void;
6499
}
65100

66101
declare var FIRAppCheckAppCheckTokenDidChangeNotification: string;
67102

68103
declare class FIRAppCheckDebugProvider extends NSObject implements FIRAppCheckProvider {
69-
70104
static alloc(): FIRAppCheckDebugProvider; // inherited from NSObject
71105

72106
static new(): FIRAppCheckDebugProvider; // inherited from NSObject
@@ -81,16 +115,18 @@ declare class FIRAppCheckDebugProvider extends NSObject implements FIRAppCheckPr
81115

82116
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
83117

84-
readonly // inherited from NSObjectProtocol
118+
readonly; // inherited from NSObjectProtocol
85119

86-
constructor(o: { app: FIRApp; });
120+
constructor(o: { app: FIRApp });
87121

88122
class(): typeof NSObject;
89123

90124
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
91125

92126
currentDebugToken(): string;
93127

128+
getLimitedUseTokenWithCompletion(handler: (p1: FIRAppCheckToken, p2: NSError) => void): void;
129+
94130
getTokenWithCompletion(handler: (p1: FIRAppCheckToken, p2: NSError) => void): void;
95131

96132
initWithApp(app: FIRApp): this;
@@ -117,7 +153,6 @@ declare class FIRAppCheckDebugProvider extends NSObject implements FIRAppCheckPr
117153
}
118154

119155
declare class FIRAppCheckDebugProviderFactory extends NSObject implements FIRAppCheckProviderFactory {
120-
121156
static alloc(): FIRAppCheckDebugProviderFactory; // inherited from NSObject
122157

123158
static new(): FIRAppCheckDebugProviderFactory; // inherited from NSObject
@@ -132,7 +167,7 @@ declare class FIRAppCheckDebugProviderFactory extends NSObject implements FIRApp
132167

133168
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
134169

135-
readonly // inherited from NSObjectProtocol
170+
readonly; // inherited from NSObjectProtocol
136171

137172
class(): typeof NSObject;
138173

@@ -160,7 +195,6 @@ declare class FIRAppCheckDebugProviderFactory extends NSObject implements FIRApp
160195
}
161196

162197
declare const enum FIRAppCheckErrorCode {
163-
164198
Unknown = 0,
165199

166200
ServerUnreachable = 1,
@@ -169,31 +203,28 @@ declare const enum FIRAppCheckErrorCode {
169203

170204
Keychain = 3,
171205

172-
Unsupported = 4
206+
Unsupported = 4,
173207
}
174208

175209
declare var FIRAppCheckErrorDomain: string;
176210

177211
interface FIRAppCheckProvider extends NSObjectProtocol {
212+
getLimitedUseTokenWithCompletion?(handler: (p1: FIRAppCheckToken, p2: NSError) => void): void;
178213

179214
getTokenWithCompletion(handler: (p1: FIRAppCheckToken, p2: NSError) => void): void;
180215
}
181216
declare var FIRAppCheckProvider: {
182-
183217
prototype: FIRAppCheckProvider;
184218
};
185219

186220
interface FIRAppCheckProviderFactory extends NSObjectProtocol {
187-
188221
createProviderWithApp(app: FIRApp): FIRAppCheckProvider;
189222
}
190223
declare var FIRAppCheckProviderFactory: {
191-
192224
prototype: FIRAppCheckProviderFactory;
193225
};
194226

195227
declare class FIRAppCheckToken extends NSObject {
196-
197228
static alloc(): FIRAppCheckToken; // inherited from NSObject
198229

199230
static new(): FIRAppCheckToken; // inherited from NSObject
@@ -202,13 +233,12 @@ declare class FIRAppCheckToken extends NSObject {
202233

203234
readonly token: string;
204235

205-
constructor(o: { token: string; expirationDate: Date; });
236+
constructor(o: { token: string; expirationDate: Date });
206237

207238
initWithTokenExpirationDate(token: string, expirationDate: Date): this;
208239
}
209240

210241
declare class FIRDeviceCheckProvider extends NSObject implements FIRAppCheckProvider {
211-
212242
static alloc(): FIRDeviceCheckProvider; // inherited from NSObject
213243

214244
static new(): FIRDeviceCheckProvider; // inherited from NSObject
@@ -223,14 +253,16 @@ declare class FIRDeviceCheckProvider extends NSObject implements FIRAppCheckProv
223253

224254
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
225255

226-
readonly // inherited from NSObjectProtocol
256+
readonly; // inherited from NSObjectProtocol
227257

228-
constructor(o: { app: FIRApp; });
258+
constructor(o: { app: FIRApp });
229259

230260
class(): typeof NSObject;
231261

232262
conformsToProtocol(aProtocol: any /* Protocol */): boolean;
233263

264+
getLimitedUseTokenWithCompletion(handler: (p1: FIRAppCheckToken, p2: NSError) => void): void;
265+
234266
getTokenWithCompletion(handler: (p1: FIRAppCheckToken, p2: NSError) => void): void;
235267

236268
initWithApp(app: FIRApp): this;
@@ -255,7 +287,6 @@ declare class FIRDeviceCheckProvider extends NSObject implements FIRAppCheckProv
255287
}
256288

257289
declare class FIRDeviceCheckProviderFactory extends NSObject implements FIRAppCheckProviderFactory {
258-
259290
static alloc(): FIRDeviceCheckProviderFactory; // inherited from NSObject
260291

261292
static new(): FIRDeviceCheckProviderFactory; // inherited from NSObject
@@ -270,7 +301,7 @@ declare class FIRDeviceCheckProviderFactory extends NSObject implements FIRAppCh
270301

271302
readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
272303

273-
readonly // inherited from NSObjectProtocol
304+
readonly; // inherited from NSObjectProtocol
274305

275306
class(): typeof NSObject;
276307

packages/firebase-app-check-debug/typings/objc!FirebaseAppCheckInterop.d.ts

+11
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
interface FIRAppCheckInterop {
2+
getLimitedUseTokenWithCompletion?(handler: (p1: FIRAppCheckTokenResultInterop) => void): void;
3+
24
getTokenForcingRefreshCompletion(forcingRefresh: boolean, handler: (p1: FIRAppCheckTokenResultInterop) => void): void;
35

46
notificationAppNameKey(): string;
@@ -11,6 +13,15 @@ declare var FIRAppCheckInterop: {
1113
prototype: FIRAppCheckInterop;
1214
};
1315

16+
interface FIRAppCheckProtocol extends NSObjectProtocol {
17+
limitedUseTokenWithCompletion(handler: (p1: FIRAppCheckToken, p2: NSError) => void): void;
18+
19+
tokenForcingRefreshCompletion(forcingRefresh: boolean, handler: (p1: FIRAppCheckToken, p2: NSError) => void): void;
20+
}
21+
declare var FIRAppCheckProtocol: {
22+
prototype: FIRAppCheckProtocol;
23+
};
24+
1425
interface FIRAppCheckTokenResultInterop extends NSObjectProtocol {
1526
error: NSError;
1627

packages/firebase-app-check/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nativescript/firebase-app-check",
3-
"version": "3.2.0",
3+
"version": "3.2.1",
44
"description": "NativeScript Firebase - App Check",
55
"main": "index",
66
"typings": "index.d.ts",
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dependencies {
2-
def computeFirebaseBomVersion = { -> project.hasProperty("firebaseBomVersion") ? firebaseBomVersion : "32.3.1" }
2+
def computeFirebaseBomVersion = { -> project.hasProperty("firebaseBomVersion") ? firebaseBomVersion : "32.7.2" }
33
implementation platform("com.google.firebase:firebase-bom:${computeFirebaseBomVersion}")
44
implementation 'com.google.firebase:firebase-appcheck-playintegrity'
55
}
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
platform :ios, '12.0'
2-
pod 'Firebase/AppCheck', '~>10.13.0'
2+
pod 'Firebase/AppCheck', '~>10.20.0'

0 commit comments

Comments
 (0)