Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit aa6d64b

Browse files
Upgrade native SDKs to iOS 6.2.0 and Android 16.0.9 #1283 (iOS, w.i.p.)
1 parent c03fb18 commit aa6d64b

File tree

7 files changed

+17
-16
lines changed

7 files changed

+17
-16
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
- [Firebase iOS SDK Changelog](https://firebase.google.com/support/release-notes/ios)
44
- [Firebase Android SDK Changelog](https://firebase.google.com/support/release-notes/android)
55

6+
## 9.0.0 (2019, June xx)
7+
[Fixes & Enhancements](https://github.com/EddyVerbruggen/nativescript-plugin-firebase/milestone/103?closed=1)
8+
9+
> Make sure to run a `pod repo update` on your dev machine, because this version includes the latest Firebase iOS SDKs
10+
11+
> Firebase Invites has been removed - use Dynamic Links instead! Also see https://firebase.google.com/docs/invites/deprecation and https://firebase.google.com/docs/dynamic-links/use-cases/user-to-user
12+
613
## 8.3.2 (2019, May 14)
714
[Fixes & Enhancements](https://github.com/EddyVerbruggen/nativescript-plugin-firebase/milestone/101?closed=1)
815

demo-ng/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"nativescript-angular": "^6.1.0",
2626
"nativescript-camera": "~4.1.1",
2727
"nativescript-imagepicker": "~6.0.5",
28-
"nativescript-plugin-firebase": "file:../publish/package/nativescript-plugin-firebase-8.3.2.tgz",
28+
"nativescript-plugin-firebase": "file:../publish/package/nativescript-plugin-firebase-9.0.0.tgz",
2929
"nativescript-theme-core": "~1.0.4",
3030
"reflect-metadata": "~0.1.10",
3131
"rxjs": "~6.0.0 || >=6.1.0",

demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"dependencies": {
1212
"firebase-functions": "^2.0.5",
13-
"nativescript-plugin-firebase": "file:../publish/package/nativescript-plugin-firebase-8.3.2.tgz",
13+
"nativescript-plugin-firebase": "file:../publish/package/nativescript-plugin-firebase-9.0.0.tgz",
1414
"nativescript-theme-core": "^1.0.4",
1515
"nativescript-unit-test-runner": "^0.3.4",
1616
"tns-core-modules": "~5.3.0"

publish/scripts/installer.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ function writePodFile(result) {
372372
(isPresent(result.ml_kit) ? `` : `#`) + `platform :ios, '9.0'
373373
374374
# With NativeScript < 5.2 we can't bump Firebase/Core beyond 5.15.0, but with 5.2+ we can
375-
pod 'Firebase/Core', '~> ` + (supportsIOSModernBuildSystem ? '5.20.1' : '5.15.0') + `'
375+
pod 'Firebase/Core', '~> ` + (supportsIOSModernBuildSystem ? '6.2.0' : '5.15.0') + `'
376376
377377
# Authentication
378378
` + (!isPresent(result.authentication) || isSelected(result.authentication) ? `` : `#`) + `pod 'Firebase/Auth'
@@ -423,9 +423,6 @@ end`) + `
423423
# AdMob
424424
` + (isSelected(result.admob) ? `` : `#`) + `pod 'Firebase/AdMob'
425425
426-
# Invites
427-
` + (isSelected(result.invites) ? `` : `#`) + `pod 'Firebase/Invites'
428-
429426
# Dynamic Links
430427
` + (isSelected(result.dynamic_links) ? `` : `#`) + `pod 'Firebase/DynamicLinks'
431428
@@ -442,8 +439,8 @@ end`) + `
442439
` + (isSelected(result.ml_kit) && isSelected(result.ml_kit_natural_language_smartreply) ? `` : `#`) + `pod 'Firebase/MLNLSmartReply'
443440
444441
# Facebook Authentication
445-
` + (isSelected(result.facebook_auth) ? `` : `#`) + `pod 'FBSDKCoreKit', '~> 4.38.0'
446-
` + (isSelected(result.facebook_auth) ? `` : `#`) + `pod 'FBSDKLoginKit', '~> 4.38.0'
442+
` + (isSelected(result.facebook_auth) ? `` : `#`) + `pod 'FBSDKCoreKit'
443+
` + (isSelected(result.facebook_auth) ? `` : `#`) + `pod 'FBSDKLoginKit'
447444
448445
# Google Authentication
449446
` + (isSelected(result.google_auth) ? `` : `#`) + `pod 'GoogleSignIn'`);

src/platforms/ios/typings/objc!Crashlytics.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ declare class Crashlytics extends NSObject {
195195

196196
logEventAttributes(eventName: string, attributes: NSDictionary<any, any>): void;
197197

198-
recordCustomExceptionNameReasonFrameArray(name: string, reason: string, frameArray: NSArray<CLSStackFrame>): void;
198+
recordCustomExceptionNameReasonFrameArray(name: string, reason: string, frameArray: NSArray<CLSStackFrame> | CLSStackFrame[]): void;
199199

200200
recordError(error: NSError): void;
201201

src/platforms/ios/typings/objc!Fabric.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ declare class Fabric extends NSObject {
77

88
static sharedSDK(): Fabric;
99

10-
static with(kitClasses: NSArray<any>): Fabric;
10+
static with(kitClasses: NSArray<any> | any[]): Fabric;
1111

1212
debug: boolean;
1313
}

src/scripts/postinstall.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4544,7 +4544,7 @@ function writePodFile(result) {
45444544
(isPresent(result.ml_kit) ? `` : `#`) + `platform :ios, '9.0'
45454545
45464546
# With NativeScript < 5.2 we can't bump Firebase/Core beyond 5.15.0, but with 5.2+ we can
4547-
pod 'Firebase/Core', '~> ` + (supportsIOSModernBuildSystem ? '5.20.1' : '5.15.0') + `'
4547+
pod 'Firebase/Core', '~> ` + (supportsIOSModernBuildSystem ? '6.2.0' : '5.15.0') + `'
45484548
45494549
# Authentication
45504550
` + (!isPresent(result.authentication) || isSelected(result.authentication) ? `` : `#`) + `pod 'Firebase/Auth'
@@ -4595,9 +4595,6 @@ end`) + `
45954595
# AdMob
45964596
` + (isSelected(result.admob) ? `` : `#`) + `pod 'Firebase/AdMob'
45974597
4598-
# Invites
4599-
` + (isSelected(result.invites) ? `` : `#`) + `pod 'Firebase/Invites'
4600-
46014598
# Dynamic Links
46024599
` + (isSelected(result.dynamic_links) ? `` : `#`) + `pod 'Firebase/DynamicLinks'
46034600
@@ -4614,8 +4611,8 @@ end`) + `
46144611
` + (isSelected(result.ml_kit) && isSelected(result.ml_kit_natural_language_smartreply) ? `` : `#`) + `pod 'Firebase/MLNLSmartReply'
46154612
46164613
# Facebook Authentication
4617-
` + (isSelected(result.facebook_auth) ? `` : `#`) + `pod 'FBSDKCoreKit', '~> 4.38.0'
4618-
` + (isSelected(result.facebook_auth) ? `` : `#`) + `pod 'FBSDKLoginKit', '~> 4.38.0'
4614+
` + (isSelected(result.facebook_auth) ? `` : `#`) + `pod 'FBSDKCoreKit'
4615+
` + (isSelected(result.facebook_auth) ? `` : `#`) + `pod 'FBSDKLoginKit'
46194616
46204617
# Google Authentication
46214618
` + (isSelected(result.google_auth) ? `` : `#`) + `pod 'GoogleSignIn'`);

0 commit comments

Comments
 (0)