-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass parameters to IOS or Android View #34
Comments
Hello @ibrahimawadhamid You can pass cordova.plugins.NativeView.show({
// Others properties documented in README
...
params: {
"toNative": "a custom value",
"aBooleanValue": true
"aIntValue": 2
}
}); By now, you can pass only basic I will update the README.md with this information in future :) |
@mfdeveloper sorry to bother, I'm a new in all of this, but how can you access the passed parameters in IOS or Android. Can you provide an example please ? |
@mfdeveloper I believe that you're not using the passed in |
Yeah @ibrahimawadhamid, you are completly right! I saw the code, and the Is not complicated to do this, but I can't alloc time now to implementations in this repo, because I'm busy with others projects 😢 Can you implement this and send a pull request? |
@mfdeveloper I have zero experience with iOS development. I come from a web development background, so this is all new to me. There's not much I can do in here :( |
I understand you completly @ibrahimawadhamid. So, I will try to do this in the next weekend. But, how can will you get the parameters in Remember: This plugin is to open a NATIVE screen ( |
@mfdeveloper , I'm currently working with a colleague of mine on a project where we'll use your plugin on both Android and iOS, we haven't had a problem on Android, unfortunately on iOS it didn't go through since the code is incomplete and we don't have much knowledge with iOS. I'm trying to figure things out, but the progress is terribly slow. |
Ok, don't worry @ibrahimawadhamid !! |
How can I pass parameters from cordova JS when initializing a view to the device native view ?
The text was updated successfully, but these errors were encountered: