Firebase Analytics

Solar2d Simulator(2020.3600) Crash on IOS build with Firebase Analytics plugins and Other plugins.
It Build successfully After removing Firebase Analytics Plugin.

– Admob plugin
[“plugin.admob”] =
{
publisherId = “com.coronalabs”
},

	-- In Mobi
	["plugin.inMobi"] =
    {
        publisherId = "com.coronalabs"
    },

	-- IAP Google
	["plugin.google.iap.v3"] =
    {
        publisherId = "com.coronalabs"
    },

	-- Notifications
	["plugin.notifications.v2"] =
	{
		publisherId = "com.coronalabs"
	},

	-- Amazon IAP
	["plugin.amazon.iap"] =
    {
        publisherId = "com.coronalabs"
    },

	-- Firebase Analytics
	["plugin.firebaseAnalytics"] =
	{
		publisherId = "scotth.tech",
		supportedPlatforms = {
			android = { url = "https://solar2dmarketplace.com/marketplacePlugins?ID=62baro&plugin=FirebaseAnalytics_scotth-tech&type=Android" },
			iphone = { url = "https://solar2dmarketplace.com/marketplacePlugins?ID=62baro&plugin=FirebaseAnalytics_scotth-tech&type=iOS" },
			macos = { url = "https://solar2dmarketplace.com/marketplacePlugins?ID=62baro&plugin=FirebaseAnalytics_scotth-tech&type=MacOS" }, --Only works with Corona Simulator 3592+
		}
	},

firebase analytics from scoth.tech ( https://plugins.solar2d.com/ ) is included with the solar2d installation file in offline builds. Just add

{
    plugins = {
        ["plugin.firebaseAnalytics"] = {
            publisherId = "tech.scotth",
        },
    },
}

I have used 2020.3600 and it worked for android build.

1 Like

ERROR: Runtime error
/Users/runner/runners/2.263.0/work/corona/corona/platform/resources/CoronaOfflineiOSPackager.lua:32: assertion failed!
stack traceback:
[C]: in function ‘assert’
/Users/runner/runners/2.263.0/work/corona/corona/platform/resources/CoronaOfflineiOSPackager.lua:32: in function ‘exec’
/Users/runner/runners/2.263.0/work/corona/corona/platform/resources/CoronaOfflineiOSPackager.lua:138: in function </Users/runner/runners/2.263.0/work/corona/corona/platform/resources/CoronaOfflineiOSPackager.lua:110>

Thanks.

it works fine in Solar2d Simulator(2020.3601)

1 Like