-
Notifications
You must be signed in to change notification settings - Fork 196
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
Added getMetaData function #85
base: master
Are you sure you want to change the base?
Conversation
Pretty awesome, now I can put api version directly in config.xml, anyway there's a problem:
Note the numeric value.
I'll try to merge the pull request to integrate browser platform. 👍 to the PR and happy new year! UPDATE: Prefix android:value number with "\ " : OR editing AppVersion.java this way
If you can find a better solution I will appreciate a lot 👍 |
I will experiment with both versions on monday when I am back in the office. I am actually a Java developer and know next to nothing about JavaScript. I would tend to just leave out the cast and "return" the java.lang.Object. |
As there is no |
Thanks, hope they'll merge it soon 🥇 |
what's happening with this? |
Nothing, apperently. Submitted a pull request months ago...
Cheers,
Sebastian
|
Too bad that the owners of this project don't have time accept collaboration. I think this relates with the issue found here: #89 |
@am yes, it's unfortunate this plugin is not maintained.. @swesteme I managed to install your pull-request by But to use getMetaData, it seems so in the meantime, I'm trying to update the ionic-native/app-version but having difficulties. This bit of code is from index.js, would you be able to help me?
|
I have to admit that I am quite clueless about cordova and ionic. I have been an iOS native developer and copy/paste implemented the getMetaData from the rest of the plugin.
|
Give me a little bit to go through the open items and this PR and I'll update everyone |
Ok, so the intent of this is to allow users to pass their own custom meta information using the config.xml files, your use case is for I can see the benefit of custom meta/build data, but I wonder if it's necessarily correct for this plugin. I'm not opposed to it but I want to limit feature creep. Before merging and then having to support the custom meta code forever I'd like to ask feedback on if it's right for this plugin? I could easily add the same things in .env variables or a few other places and may be a better fit. |
I needed a function to read custom properties set in the various configuration files. Implementation for iOS, Android and Windows has been added and tested. I ignored wp8 as it is now deprecated.