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

Commit

Permalink
#618 iOS app crashes straight after splash screen (iOS 11.2, iPhones …
Browse files Browse the repository at this point in the history
…X, 8 & 7 on simulator)
  • Loading branch information
EddyVerbruggen committed Jan 31, 2018
1 parent 54c68cb commit 78f60f5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,18 @@
[Firebase Android SDK Changelog](https://firebase.google.com/support/release-notes/android)


## 5.1.6 (2018, January 31)

### Fixes
- [#618](https://github.com/EddyVerbruggen/nativescript-plugin-firebase/issues/618) iOS app crashes straight after splash screen (iOS 11.2, iPhones X, 8 & 7 on simulator)


## 5.1.5 (2018, January 30)

### Fixes
- [#272](https://github.com/EddyVerbruggen/nativescript-plugin-firebase/issues/272) Unusual error message when retrieving data set and binding to layout



## 5.1.4 (2018, January 23)

### New
Expand Down
2 changes: 1 addition & 1 deletion src/firebase.ios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ firebase.init = arg => {
firebase.storage = FIRStorage.storage().referenceForURL(arg.storageBucket);
}

resolve(FIRDatabase.database().reference());
resolve(typeof (FIRDatabase) !== "undefined" ? FIRDatabase.database().reference() : undefined);
} catch (ex) {
console.log("Error in firebase.init: " + ex);
reject(ex);
Expand Down

0 comments on commit 78f60f5

Please sign in to comment.