You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the problem
The iOS app works perfectly and can access the firebase database, but the Catalyst app gives the following error:
6.11.0 - [Firebase/Database][I-RDB038012] Listener at /my_database/path failed: permission_denied
'openssl_grpc/ssl.h' file not found
'openssl_grpc/bn.h' file not found
'openssl_grpc/rsa.h' file not found
'openssl_grpc/bio.h' file not found
I have no issues when I run the project.
Steps to reproduce:
iOS code:
let ref = Database.database().reference(withPath: databasePath)
ref.observeSingleEvent(of: .value, with: { (snapshot) in
...
}
my PodFile:
platform :ios, '11.0'
def reusepods
end
target 'MyTargerName' do
use_frameworks!
# pod 'Firebase/Core'
pod 'FirebaseCore'
pod 'Firebase/Database'
pod 'Firebase/Auth'
pod 'Charts'
pod 'EMAlertController'
end
The firebase rules are as follows for the path that the app accesses (note that the iOS app can access this path with no error):
".read": "auth != null",
".write": "auth != null"
The text was updated successfully, but these errors were encountered:
Thanks for the report @rawmean, this may be a silly question but is the Auth user properly logged in? Specifically, checking if Auth.auth()?.currentUser is nil or not right before the read.
This is just the first step in debugging what's going on here, hopefully we can get this resolved quickly for you.
It turned out that I need to add "Keychain sharing" as a capability even though the app does not use Keychains. This is only necessary for the Mac app.
Describe your environment
Xcode version: 11.1
Firebase SDK version: 6.11.0
Firebase Component: RealTime Database
Component version:
Firebase 6.11.0
FirebaseAnalytics (6.1.3)
FirebaseInstanceID (4.2.6)
GoogleAppMeasurement (6.1.3)
GoogleUtilities 6.3.1
Describe the problem
The iOS app works perfectly and can access the firebase database, but the Catalyst app gives the following error:
6.11.0 - [Firebase/Database][I-RDB038012] Listener at /my_database/path failed: permission_denied
'openssl_grpc/ssl.h' file not found
'openssl_grpc/bn.h' file not found
'openssl_grpc/rsa.h' file not found
'openssl_grpc/bio.h' file not found
I have no issues when I run the project.
Steps to reproduce:
iOS code:
my PodFile:
The firebase rules are as follows for the path that the app accesses (note that the iOS app can access this path with no error):
The text was updated successfully, but these errors were encountered: