Wkwebview implementation in cordova based applications - ios

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

Related

How to use iOS keychain in Oracle MAF application?

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

How can I call with native Swift methods from Electron app using javascript?

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 create background service using ionic,angularjs and cordova?

I am working on the project in ionic which have requirement to create background service.
Is there any plugin for the same in cordova?
Please check this somehow related thread
Can phonegap app work in background?

Can I access ios IDFA using Cordova?

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.

PhoneGap Meteor iOS Push Notifications

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

Resources