Hello,
Problem
I wanted to try out the new Pollfish plugin but I seem to be getting an error when loading up the simulator. Here is a screenshot: http://puu.sh/qmXEC/4b1b0d7bc7.png
What I have
-
Added this to the top of build settings:
[“plugin.pollfish”] = { publisherId = “com.coronalabs”, supportedPlatforms = { iphone=true, android=true } },
-
Added this to my main lua file :
local pollfish = require( “plugin.pollfish” )
following permissions:
"android.permission.INTERNET", "android.permission.RECEIVE\_BOOT\_COMPLETED", "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.READ\_PHONE\_STATE", "android.permission.ACCESS\_WIFI\_STATE", "android.permission.ACCESS\_COARSE\_LOCATION", "android.permission.ACCESS\_FINE\_LOCATION"
Simulator 2015.2731
What I have tried
- I remember seeing this before when I used a new plug in and the recommendation was to remove all references within the lua code, make sure the build.settings has the plugin and permissions updated, and then build an android app from the remote server. I believe the idea was the server would notice a new plugin and bring the files over but that might just be speculation.
- Just removing the require line seems to remove the runtime error but once I put it back in it appears again.
I know this is a new plugin and I was wondering if its a bug, if anyone is having the same issue, or if I am just doing something wrong?
Thanks,
Adam