Yes, same Lua code. That’s the point with the native extensions that the Lua API should be the same and the underlying native code will abstract away the differences.
Yes you need that on Android as well. There’s an AndroidManifest.xml file in the root of the project, used by the example app.