Support for SDK wrappers like Unity and Adobe Air

Also fixes a crash that resulted from our changed ActivityPackage representation introduced in `v2.1.2`.