question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

firebase.update issue on iOS

See original GitHub issue

On my iOS simulator the application seems to always fail on the firebase update function.

updateProfile(key: string, name: string, value?: any) {
     let path = "/profiles/" + key
     return firebase.update(path, {"photoUrl": value} )
         .catch(this.handleErrors);
}

Below is the output and the node is never updated. However, on Android it goes through without issue.

Sep  1 09:28:10 Winterfell prayinghandsng[19972]: CONSOLE LOG file:///app/shared/profile/profile.service.js:27:20: updating /profiles/-KQ_vqnfRt9ahoa-WaC0
Sep  1 09:28:10 Winterfell com.apple.CoreSimulator.SimDevice.BC6BDC7A-E456-4297-B49C-4C3773FD4F46.launchd_sim[1618] (UIKitApplication:org.nativescript.prayinghands[0x2b3f][19972]): Service exited with abnormal code: 1

is there a difference in how this function should be used for iOS as oppose to Android?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
EddyVerbruggencommented, Sep 2, 2016

OK, this should not pop up again, once released.

1reaction
dondragon2commented, Sep 2, 2016

The value was an NSUrl coming as the result from the getDownloadUrl() function.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Firebase Apple SDK Release Notes - Google
Fixed an issue where experiment exposures were sometimes incorrect by only updating experiment data for firebase -namespaced fetch requests (#7604).
Read more >
Update minimum supported versions across platforms #10100
Xcode 14 updates to the following minimums: iOS 11, macOS 10.13, tvOS 11. Update Firebase to the same minimums in the next major...
Read more >
Problems with newest Firebase Update (iOS, CocoaPods)
I updated Firebase through pod update to Version: 4.8.0. XCode Version: 9.1 Language: Objective-C. Since that only weird things are ...
Read more >
Implement Force Update with Firebase Realtime Database
In this video, we learn how to force users to update their app by configuring a minimal app version on Firebase Realtime database....
Read more >
iOS Firebase SDK v4.7.0 – Performance Monitoring issue ...
After updating one of our iOS apps to v4.7.0 we're now seeing inexplicable network performance across the board. It appears to be affecting...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found