Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Cannot find GoogleService-Info.plist
Started by varun.raja.30 Nov 07 2019 10:55 PM

3 replies to this topic
notification fcm

Best Answer ojnab , 08 November 2019 - 01:29 AM

Are you testing with live builds? If so try doing a build without that.

The GoogleService-Info.plist is not copied to the right folder when doing live builds, so it doesn't work. 

[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

varun.raja.30

[GLOBAL: userInfoPane.html]
varun.raja.30
  • Contributor

  • 109 posts
  • Corona SDK

I am trying to use FCM notification, i have added googleservice-info.plish as well in the project directory, but when i am testing on device i am getting error: Cannot find GoogleService-Info.plist.

 

 

Attached Files



[TOPIC: post.html]
#2

ojnab

[GLOBAL: userInfoPane.html]
ojnab
  • Contributor

  • 587 posts
  • Corona SDK

  Best Answer

Are you testing with live builds? If so try doing a build without that.

The GoogleService-Info.plist is not copied to the right folder when doing live builds, so it doesn't work. 



[TOPIC: post.html]
#3

varun.raja.30

[GLOBAL: userInfoPane.html]
varun.raja.30
  • Contributor

  • 109 posts
  • Corona SDK

Hi, 

 

Thanks for the update. Now i got it working. 



[TOPIC: post.html]
#4

ojnab

[GLOBAL: userInfoPane.html]
ojnab
  • Contributor

  • 587 posts
  • Corona SDK

By the way you can also get it to work with live builds.

Just copy the GoogleService-Info.plist to the root folder of the app bundle after building.

You will of course have to do that every time you do a new live build.




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: notification, fcm