Closed jdgjsag67251 closed 2 years ago
All looks good, thank you for your contribution. It took longer to test than I expected because some of my tests were affected by package visibility changes in SDK30
Give me a day or two to look over https://github.com/darryncampbell/darryncampbell-cordova-plugin-intent/pull/136 then I'll update the version on npm with both changes, thanks!
Posted to npm as 2.2.0
Use case
We would like to call an intent of a third party app that requires that we provide a
BigDecimal
in theIntent
. Since we are not able to transfer Java objects to JS (and back), we must have some solution in this library. The solution I came up with was to handle objects that contain the$class
key in a special way, allowing the lib to create the object in Java with specific parameters.Example