InstagramClone icon indicating copy to clipboard operation
InstagramClone copied to clipboard

Terminating app due to uncaught exception 'MissingDatabaseURL',

Open mohammed3736 opened this issue 4 years ago • 0 comments

Please help. I am a beginner at this so bear with me. Every time I run the app it crashes and the console says:

Terminating app due to uncaught exception 'MissingDatabaseURL', reason: 'Failed to get FirebaseDatabase instance: Specify DatabaseURL within FIRApp or from your databaseForApp:URL: call. I have the URL I don't know where to place it. I am new to objective C. This is the line that firebase say to use I Just don't know where to place the value of url.

  • (FIRDatabase *)databaseForApp:(FIRApp *)app URL:(NSString *)url

mohammed3736 avatar Dec 19 '20 13:12 mohammed3736