Cordova allows access to device UUID using:
var deviceID = device.uuid;
I am interested in accessing the advertisingIdentifier on the iOS platform.
Is the Cordova method above sufficient for this?
If not am I able to insert other code into the framework to accomplish this task (what might that look like)?
Thank you!
Cordova doesn't ship with that specific functionality.
You will need a cordova plugin like this: https://github.com/aquto/cordova-plugin-AppleAdvertising (Apple)
I couldn't, however, make the above plugin work for myself.
Related
I am creating demo project with flutter google maps. All things working fine but issue with GPS service. If GPS service not enable not able to get locations.
Tried
https://pub.dartlang.org/packages/geolocator
https://pub.dartlang.org/packages/geo_location_finder#-readme-tab- : Open setting menu.
Is there any way to prompt popup like googleMap app to turn on GPS service ?
You neet to write the native code and call it using methodchannel .
Refer to this link , https://proandroiddev.com/communication-between-flutter-and-native-modules-9b52c6a72dd2
For getting the idea how to call native methods using flutter methodchannels.
In native u need to write 4 line of intent code only .
You could use something like https://pub.dartlang.org/packages/simple_permissions to enable the various location permissions in a cross-platform way.
A new flutter plugin for checking and requesting permissions on iOs and Android.
I am pretty new to Oracle MAF framework. I want to store a string to iOS keychain and retrieve later. I have searched for a tutorial and still unable to find.
Please share any tutorial if anyone has done this before. Also I want to know whether we can use a Cordova plugin such as https://www.npmjs.com/package/cordova-plugin-ios-keychain directly in the MAF project?
I was able to resolve the problem. I would like to share how did I manage to do. Cordova plugin can be used in the MAF application. MAF app's java code can invoke javascript methods in the cordova plugin. Or we can write a javascript class to do the bridging between MAF app and the cordova plugin.
This is a good tutorial for your reference.
https://blogs.oracle.com/mobile/integrating-a-custom-cordova-plugin-into-a-maf-app
I am looking to add in-app subscriptions to the mac desktop app so I can submit to app store.
I have the code written for iOS using the cordova plugin: https://github.com/AlexDisler/cordova-plugin-inapppurchase
But for electron there exists no such plugin.
So I can use the native swift code from the plugin, but need a way to write a custom plugin so I can call swift methods from javascript running the Electron app.
Please let me know how to approach this, or point me to the correct resources.
Thanks You
How to implement WKWebView in hybrid application.I am using cordova 2.7.0.Do i need to wait for new cordova version to do this?
The Cordova team is currently working on a bridge to implement WKWebView use in a later release, that, yes, we will have to wait for. https://issues.apache.org/jira/browse/CB-7043
In the meanwhile, you can use this plugin:
https://github.com/EddyVerbruggen/cordova-plugin-wkwebview
I have currently used phonegap and deployed an iOS app that takes the URL of my meteor app and convert it into a "webapp" (not sure if this is accurate). However, I would like to implement remote/push notifications to Apple's servers APNS to enable the app to receive notifications, update badges etc... Are there any other means other than Urban airship?
Also, I chanced upon ObjectiveDDP, https://github.com/boundsj/ObjectiveDDP#requirements, but the tutorial is not working for me and it is really frustrating.
Thank you!
You can use the Phonegap team Push Plugin (on github) that allows sending push notifications for Android and iOS.
The plugin can be integrated via the phonegap build site without having to use Java or Objective-C or using Java or Objective-C.
Here is an updated answer that works as of 12/25/14:
Simply use the push package by raix: https://atmospherejs.com/raix/push The documentation is really good.
I think you need this one,
https://github.com/SpaceCapsule/Meteor-phonegap-push
I am implementing the same,
If I am able to do so I will put the demo too
Thanks.
I just released a new package that makes it easy to integrate Meteor with Cordova (Phonegap). You can use the Cordova API, including push notifications, just like it describes in the docs.
Check out Cordova Loader package.
Use PushPlugin
cordova plugin add https://github.com/phonegap-build/PushPlugin.git