dbankier / TiShadow

Quick Titanium previews across devices
http://tishadow.yydigital.com
Other
385 stars 122 forks source link

Error when including the Firebase SDK #553

Closed caspahouzer closed 5 years ago

caspahouzer commented 5 years ago

Hi,

I've included the Firebase SDK from https://github.com/hansemannn/titanium-firebase

I've put the configuration files in Resources/iphone/GoogleService-Info.plist and Resources/android/google-services.json

On starting the app with tishadow, I got an error

[DEBUG] [iphone, 12.1, 10.55.15.25] Native module:firebase.core
[DEBUG] [iphone, 12.1, 10.55.15.25] Native module:firebase.analytics
[ERROR] [iphone, 12.1, 10.55.15.25] Error: `[FIRApp configure];` (`FirebaseApp.configure()` in Swift) could not find a valid GoogleService-Info.plist in your project. Please download one from https://console.firebase.google.com/.

Building the app with Axway Studio, works fine as expected. What can I do?

dbankier commented 5 years ago

I think it is a matter of those files being (or moved to) the Resources directory of the appified (/container) app.

caspahouzer commented 5 years ago

Same behavior, when added to Resources root. Studio works, shadow doesn't. Maybe it's even not copied?