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

Commit 3f950ae

Browse files
bump
1 parent 6b3ae8b commit 3f950ae

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ cache:
1818
- $HOME/.gradle/caches/
1919
- $HOME/.gradle/wrapper/
2020

21+
before_install:
22+
- sudo pip install --upgrade pip
23+
- sudo pip install six
24+
2125
install:
2226
- echo no | npm install -g nativescript
2327
- tns usage-reporting disable

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.0.2",
2727
"nativescript-imagepicker": "~6.0.4",
28-
"nativescript-plugin-firebase": "file:../publish/package/nativescript-plugin-firebase-7.4.4.tgz",
28+
"nativescript-plugin-firebase": "file:../publish/package/nativescript-plugin-firebase-7.4.5.tgz",
2929
"nativescript-theme-core": "~1.0.4",
3030
"reflect-metadata": "~0.1.10",
3131
"rxjs": "~6.0.0 || >=6.1.0",

demo-push/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
}
1010
},
1111
"dependencies": {
12-
"nativescript-plugin-firebase": "file:../publish/package/nativescript-plugin-firebase-7.4.4.tgz",
12+
"nativescript-plugin-firebase": "file:../publish/package/nativescript-plugin-firebase-7.4.5.tgz",
1313
"nativescript-theme-core": "^1.0.4",
1414
"nativescript-unit-test-runner": "^0.3.4",
1515
"tns-core-modules": "~4.2.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-7.4.4.tgz",
13+
"nativescript-plugin-firebase": "file:../publish/package/nativescript-plugin-firebase-7.4.5.tgz",
1414
"nativescript-theme-core": "^1.0.4",
1515
"nativescript-unit-test-runner": "^0.3.4",
1616
"tns-core-modules": "~5.0.5"

src/firebase.ios.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -308,12 +308,9 @@ if (typeof (FIRMessaging) !== "undefined" || useExternalPushProvider) {
308308
function getAppDelegate() {
309309
// Play nice with other plugins by not completely ignoring anything already added to the appdelegate
310310
if (application.ios.delegate === undefined) {
311-
class UIApplicationDelegateImpl extends UIResponder implements UIApplicationDelegate {
312-
public static ObjCProtocols = [UIApplicationDelegate];
313311

314-
// static new(): UIApplicationDelegateImpl {
315-
// return <UIApplicationDelegateImpl>super.new();
316-
// }
312+
@ObjCClass(UIApplicationDelegate)
313+
class UIApplicationDelegateImpl extends UIResponder implements UIApplicationDelegate {
317314
}
318315

319316
application.ios.delegate = UIApplicationDelegateImpl;
@@ -1223,7 +1220,7 @@ firebase.getValue = path => {
12231220
return new Promise((resolve, reject) => {
12241221
try {
12251222
const where = path === undefined ? FIRDatabase.database().reference() : FIRDatabase.database().reference().childByAppendingPath(path);
1226-
const listener = where.observeSingleEventOfTypeWithBlockWithCancelBlock(
1223+
where.observeSingleEventOfTypeWithBlockWithCancelBlock(
12271224
FIRDataEventType.Value,
12281225
snapshot => {
12291226
resolve(firebase.getCallbackData('ValueChanged', snapshot));

src/mlkit/mlkit-cameraview.ios.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,8 @@ export abstract class MLKitCameraView extends MLKitCameraViewBase {
171171
abstract createSuccessListener(): any;
172172
}
173173

174+
@ObjCClass(TNSMLKitCameraViewDelegate)
174175
class TNSMLKitCameraViewDelegateImpl extends NSObject implements TNSMLKitCameraViewDelegate {
175-
public static ObjCProtocols = [TNSMLKitCameraViewDelegate];
176-
177176
private owner: WeakRef<MLKitCameraView>;
178177
private resultCallback: (message: any) => void;
179178
private options?: any;

src/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-plugin-firebase",
3-
"version": "7.4.4",
3+
"version": "7.4.5",
44
"description": "Fire. Base. Firebase!",
55
"main": "firebase",
66
"typings": "index.d.ts",

0 commit comments

Comments
 (0)