Unity3D.Authentication.Example icon indicating copy to clipboard operation
Unity3D.Authentication.Example copied to clipboard

Canvas name hardcoded in AndroidProject

Open DariosKrimsKrams opened this issue 6 years ago • 1 comments

The Canvas name is hardcoded in the AndroidProject: To use the Activity behind the plugin with your own project (your own scenes/canvas), you need to rename your Canvas to the same name used in demo project. Better solution would be to changed it in AndroidProject but then you have to re-build the AndroidUnityPlugin.jar file.

  • At least a info in the documentation is needed.
  • A better solution for this problem would be nice.
  • I don't actually know if there is a problem when using this with multiple canvas,, but I could expect this doesn't work at the moment :/

Edit: Realized there is already a issue for that: https://github.com/peterhorsley/Unity3D.Authentication.Example/issues/1

DariosKrimsKrams avatar Apr 15 '19 16:04 DariosKrimsKrams

Agree, a better solution would be nice, but adds some complexity i think. For now I just updated the readme to document this requirement, I guess you could consider it configuration by convention for now.

peterhorsley avatar Jun 24 '19 03:06 peterhorsley