Skip to content

Instantly share code, notes, and snippets.

@kinkoi
Created December 8, 2016 05:06
Show Gist options
  • Save kinkoi/0c0fd16936c0b99c3e8c02c3f669d682 to your computer and use it in GitHub Desktop.
Save kinkoi/0c0fd16936c0b99c3e8c02c3f669d682 to your computer and use it in GitHub Desktop.
Firebase Notes
It turns out that FIRDataSnapshot "value" property sometimes returns NSString when it actually contains a large integer number (for example 1479806717404). so ingestion time was NSSTring instead of NSNumber
and when isEqualToNumber is called on NSStirng you get crash isEqualToNumber is called as a part of isEqual message in
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment