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

Commit ede2711

Browse files
bump
1 parent f3ee9b5 commit ede2711

File tree

6 files changed

+25
-13
lines changed

6 files changed

+25
-13
lines changed

CHANGELOG.md

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

66

7+
## 4.0.5 (2017, July 22)
8+
9+
### Fixes
10+
- [#387](https://github.com/EddyVerbruggen/nativescript-plugin-firebase/issues/387) Fix issues
11+
- [#434](https://github.com/EddyVerbruggen/nativescript-plugin-firebase/issues/434) JS: Error in firebase.init: TypeError: gson(...).toJson is not a function
12+
713

814
## 4.0.4 (2017, July 16)
915

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,22 @@ firebase.init({
132132

133133
## Known issues on iOS
134134

135+
#### Trouble running on the simulator
136+
Open or create `App_Resources/iOS/<appname>.entitlements` and add these two keys with the value `true`:
137+
138+
```xml
139+
<?xml version="1.0" encoding="UTF-8"?>
140+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
141+
<plist version="1.0">
142+
<dict>
143+
<key>com.apple.keystore.access-keychain-keys</key>
144+
<true/>
145+
<key>com.apple.keystore.device</key>
146+
<true/>
147+
</dict>
148+
</plist>
149+
```
150+
135151
#### Authentication failed: invalid_token
136152
On the simulator you may see this message if you have more than one app with the Firebase SDK ever installed:
137153

platforms/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
pod 'Firebase', '~> 4.0.2'
2+
pod 'Firebase', '~> 4.0.4'
33
pod 'Firebase/Database'
44
pod 'Firebase/Auth'
55

platforms/ios/app.entitlements

Lines changed: 0 additions & 10 deletions
This file was deleted.

scripts/installer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ function writePodFile(result) {
215215
}
216216
try {
217217
fs.writeFileSync(directories.ios + '/Podfile',
218-
`pod 'Firebase', '~> 4.0.2'
218+
`pod 'Firebase', '~> 4.0.4'
219219
pod 'Firebase/Database'
220220
pod 'Firebase/Auth'
221221

scripts/postinstall.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3013,7 +3013,7 @@ function writePodFile(result) {
30133013
}
30143014
try {
30153015
fs.writeFileSync(directories.ios + '/Podfile',
3016-
`pod 'Firebase', '~> 4.0.2'
3016+
`pod 'Firebase', '~> 4.0.4'
30173017
pod 'Firebase/Database'
30183018
pod 'Firebase/Auth'
30193019

0 commit comments

Comments
 (0)