Skip to content

Commit

Permalink
feat: bump libs
Browse files Browse the repository at this point in the history
ios: 10.20.0
android: bom 32.7.2
  • Loading branch information
triniwiz committed Feb 22, 2024
1 parent 132d1f6 commit 0636cd4
Show file tree
Hide file tree
Showing 86 changed files with 1,247 additions and 829 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "plugins",
"version": "3.2.0",
"version": "3.2.1",
"license": "MIT",
"scripts": {
"postinstall": "husky install && npx ts-patch install",
Expand Down
2 changes: 1 addition & 1 deletion packages/firebase-admob/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nativescript/firebase-admob",
"version": "3.2.0",
"version": "3.2.1",
"description": "NativeScript Firebase - Admob",
"main": "index",
"typings": "index.d.ts",
Expand Down
Binary file modified packages/firebase-admob/platforms/android/firebase_admob.aar
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/firebase-analytics/index.android.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export class Analytics implements IAnalytics {
}

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

consentSettings.forEach((value, key) => {
let nativeKey;
Expand Down
2 changes: 1 addition & 1 deletion packages/firebase-analytics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nativescript/firebase-analytics",
"version": "3.2.0",
"version": "3.2.1",
"description": "NativeScript Firebase - Analytics",
"main": "index",
"typings": "index.d.ts",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dependencies {
def computeFirebaseBomVersion = { -> project.hasProperty("firebaseBomVersion") ? firebaseBomVersion : "32.3.1" }
def computeFirebaseBomVersion = { -> project.hasProperty("firebaseBomVersion") ? firebaseBomVersion : "32.7.2" }
implementation platform("com.google.firebase:firebase-bom:${computeFirebaseBomVersion}")
implementation 'com.google.firebase:firebase-analytics'
}
4 changes: 2 additions & 2 deletions packages/firebase-analytics/platforms/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ platform :ios, '12.0'
if defined?($NSFirebaseAnalyticsWithoutAdIdSupport)
Pod::UI.puts "Using Firebase/AnalyticsWithoutAdIdSupport pod in place of default Firebase/Analytics"

pod 'Firebase/AnalyticsWithoutAdIdSupport', '~>10.13.0'
pod 'Firebase/AnalyticsWithoutAdIdSupport', '~>10.20.0'
else
Pod::UI.puts "Using default Firebase/Analytics with Ad Ids. May require App Tracking Transparency. Not allowed for Kids apps."
Pod::UI.puts "You may set variable `$NSFirebaseAnalyticsWithoutAdIdSupport=true` in Podfile to use analytics without ad ids."
pod 'Firebase/Analytics', '~>10.13.0'
pod 'Firebase/Analytics', '~>10.20.0'
end
308 changes: 200 additions & 108 deletions packages/firebase-analytics/typings/android.d.ts

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ declare class FIRAnalytics extends NSObject {

static initiateOnDeviceConversionMeasurementWithEmailAddress(emailAddress: string): void;

static initiateOnDeviceConversionMeasurementWithPhoneNumber(phoneNumber: string): void;

static logEventWithNameParameters(name: string, parameters: NSDictionary<string, any>): void;

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

declare var FIRConsentStatusGranted: string;

declare var FIRConsentTypeAdPersonalization: string;

declare var FIRConsentTypeAdStorage: string;

declare var FIRConsentTypeAdUserData: string;

declare var FIRConsentTypeAnalyticsStorage: string;

declare var FirebaseAnalyticsVersionNumber: number;
Expand Down
2 changes: 1 addition & 1 deletion packages/firebase-app-check-debug/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nativescript/firebase-app-check-debug",
"version": "3.2.0",
"version": "3.2.1",
"description": "NativeScript Firebase - App Check",
"main": "index",
"typings": "index.d.ts",
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dependencies {
def computeFirebaseBomVersion = { -> project.hasProperty("firebaseBomVersion") ? firebaseBomVersion : "32.3.1" }
def computeFirebaseBomVersion = { -> project.hasProperty("firebaseBomVersion") ? firebaseBomVersion : "32.7.2" }
implementation platform("com.google.firebase:firebase-bom:${computeFirebaseBomVersion}")
implementation 'com.google.firebase:firebase-appcheck-debug'
}
2 changes: 1 addition & 1 deletion packages/firebase-app-check-debug/platforms/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
platform :ios, '12.0'
pod 'Firebase/AppCheck', '~>10.13.0'
pod 'Firebase/AppCheck', '~>10.20.0'
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

declare class FIRAppAttestProvider extends NSObject implements FIRAppCheckProvider {

static alloc(): FIRAppAttestProvider; // inherited from NSObject

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

readonly superclass: typeof NSObject; // inherited from NSObjectProtocol

readonly // inherited from NSObjectProtocol
readonly; // inherited from NSObjectProtocol

constructor(o: { app: FIRApp; });
constructor(o: { app: FIRApp });

class(): typeof NSObject;

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

getLimitedUseTokenWithCompletion(handler: (p1: FIRAppCheckToken, p2: NSError) => void): void;

getTokenWithCompletion(handler: (p1: FIRAppCheckToken, p2: NSError) => void): void;

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

declare class FIRAppCheck extends NSObject {

declare class FIRAppCheck extends NSObject implements FIRAppCheckProtocol {
static alloc(): FIRAppCheck; // inherited from NSObject

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

isTokenAutoRefreshEnabled: boolean;

readonly debugDescription: string; // inherited from NSObjectProtocol

readonly description: string; // inherited from NSObjectProtocol

readonly hash: number; // inherited from NSObjectProtocol

readonly isProxy: boolean; // inherited from NSObjectProtocol

readonly superclass: typeof NSObject; // inherited from NSObjectProtocol

readonly; // inherited from NSObjectProtocol

class(): typeof NSObject;

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

isEqual(object: any): boolean;

isKindOfClass(aClass: typeof NSObject): boolean;

isMemberOfClass(aClass: typeof NSObject): boolean;

limitedUseTokenWithCompletion(handler: (p1: FIRAppCheckToken, p2: NSError) => void): void;

performSelector(aSelector: string): any;

performSelectorWithObject(aSelector: string, object: any): any;

performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;

respondsToSelector(aSelector: string): boolean;

retainCount(): number;

self(): this;

tokenForcingRefreshCompletion(forcingRefresh: boolean, handler: (p1: FIRAppCheckToken, p2: NSError) => void): void;
}

declare var FIRAppCheckAppCheckTokenDidChangeNotification: string;

declare class FIRAppCheckDebugProvider extends NSObject implements FIRAppCheckProvider {

static alloc(): FIRAppCheckDebugProvider; // inherited from NSObject

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

readonly superclass: typeof NSObject; // inherited from NSObjectProtocol

readonly // inherited from NSObjectProtocol
readonly; // inherited from NSObjectProtocol

constructor(o: { app: FIRApp; });
constructor(o: { app: FIRApp });

class(): typeof NSObject;

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

currentDebugToken(): string;

getLimitedUseTokenWithCompletion(handler: (p1: FIRAppCheckToken, p2: NSError) => void): void;

getTokenWithCompletion(handler: (p1: FIRAppCheckToken, p2: NSError) => void): void;

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

declare class FIRAppCheckDebugProviderFactory extends NSObject implements FIRAppCheckProviderFactory {

static alloc(): FIRAppCheckDebugProviderFactory; // inherited from NSObject

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

readonly superclass: typeof NSObject; // inherited from NSObjectProtocol

readonly // inherited from NSObjectProtocol
readonly; // inherited from NSObjectProtocol

class(): typeof NSObject;

Expand Down Expand Up @@ -160,7 +195,6 @@ declare class FIRAppCheckDebugProviderFactory extends NSObject implements FIRApp
}

declare const enum FIRAppCheckErrorCode {

Unknown = 0,

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

Keychain = 3,

Unsupported = 4
Unsupported = 4,
}

declare var FIRAppCheckErrorDomain: string;

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

getTokenWithCompletion(handler: (p1: FIRAppCheckToken, p2: NSError) => void): void;
}
declare var FIRAppCheckProvider: {

prototype: FIRAppCheckProvider;
};

interface FIRAppCheckProviderFactory extends NSObjectProtocol {

createProviderWithApp(app: FIRApp): FIRAppCheckProvider;
}
declare var FIRAppCheckProviderFactory: {

prototype: FIRAppCheckProviderFactory;
};

declare class FIRAppCheckToken extends NSObject {

static alloc(): FIRAppCheckToken; // inherited from NSObject

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

readonly token: string;

constructor(o: { token: string; expirationDate: Date; });
constructor(o: { token: string; expirationDate: Date });

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

declare class FIRDeviceCheckProvider extends NSObject implements FIRAppCheckProvider {

static alloc(): FIRDeviceCheckProvider; // inherited from NSObject

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

readonly superclass: typeof NSObject; // inherited from NSObjectProtocol

readonly // inherited from NSObjectProtocol
readonly; // inherited from NSObjectProtocol

constructor(o: { app: FIRApp; });
constructor(o: { app: FIRApp });

class(): typeof NSObject;

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

getLimitedUseTokenWithCompletion(handler: (p1: FIRAppCheckToken, p2: NSError) => void): void;

getTokenWithCompletion(handler: (p1: FIRAppCheckToken, p2: NSError) => void): void;

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

declare class FIRDeviceCheckProviderFactory extends NSObject implements FIRAppCheckProviderFactory {

static alloc(): FIRDeviceCheckProviderFactory; // inherited from NSObject

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

readonly superclass: typeof NSObject; // inherited from NSObjectProtocol

readonly // inherited from NSObjectProtocol
readonly; // inherited from NSObjectProtocol

class(): typeof NSObject;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
interface FIRAppCheckInterop {
getLimitedUseTokenWithCompletion?(handler: (p1: FIRAppCheckTokenResultInterop) => void): void;

getTokenForcingRefreshCompletion(forcingRefresh: boolean, handler: (p1: FIRAppCheckTokenResultInterop) => void): void;

notificationAppNameKey(): string;
Expand All @@ -11,6 +13,15 @@ declare var FIRAppCheckInterop: {
prototype: FIRAppCheckInterop;
};

interface FIRAppCheckProtocol extends NSObjectProtocol {
limitedUseTokenWithCompletion(handler: (p1: FIRAppCheckToken, p2: NSError) => void): void;

tokenForcingRefreshCompletion(forcingRefresh: boolean, handler: (p1: FIRAppCheckToken, p2: NSError) => void): void;
}
declare var FIRAppCheckProtocol: {
prototype: FIRAppCheckProtocol;
};

interface FIRAppCheckTokenResultInterop extends NSObjectProtocol {
error: NSError;

Expand Down
2 changes: 1 addition & 1 deletion packages/firebase-app-check/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nativescript/firebase-app-check",
"version": "3.2.0",
"version": "3.2.1",
"description": "NativeScript Firebase - App Check",
"main": "index",
"typings": "index.d.ts",
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dependencies {
def computeFirebaseBomVersion = { -> project.hasProperty("firebaseBomVersion") ? firebaseBomVersion : "32.3.1" }
def computeFirebaseBomVersion = { -> project.hasProperty("firebaseBomVersion") ? firebaseBomVersion : "32.7.2" }
implementation platform("com.google.firebase:firebase-bom:${computeFirebaseBomVersion}")
implementation 'com.google.firebase:firebase-appcheck-playintegrity'
}
2 changes: 1 addition & 1 deletion packages/firebase-app-check/platforms/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
platform :ios, '12.0'
pod 'Firebase/AppCheck', '~>10.13.0'
pod 'Firebase/AppCheck', '~>10.20.0'
Loading

0 comments on commit 0636cd4

Please sign in to comment.