Hello,
I am using notification plugins and when I build I comment appropriate lines to target the specified platform:
in main.lua :
– android notifications
–gNotifications = require (“plugin.notifications.v2”)
– ios plugon notifications
gNotifications = require (“plugin.notifications.v2.firebase”)
in build.settings:
–[“plugin.notifications.v2”] =
–{
– publisherId = “com.coronalabs”
–},
["plugin.notifications.v2.firebase"] =
{
publisherId = "com.coronalabs"
},
Is there a better way to do this ?