How to realize hot update in cordova code - cordova-plugins

there
Are there any plugins realizing hot updates in Cordova? I tried cordova-hot-code-push-plugin and cordova-plugin-code-push, but they are achieved, and I meet error that can't hot update.
thanks for any suggestions.

Related

iOS - Realm for react-native ,unkonw execution context,

it show 'unkonw execution context' when I
import Realm from 'realm';
The same problem -> the link
how to solve it in xcode and why .
Please ensure you're using the installation/setup steps for React Native that can be found here. If you're still experiencing problems after following those steps (and I recommend trying again to see if it had to do with that project), try reinstalling React Native.
Let me know if you have any issues with this and I'll happily work with you to resolve the issue and edit my answer. Cheers!
update the react-native over 0.43 if use the newest realm.
By the way, you should update your cocoapod over 1.2.0 best that version 1.1 will link project wrong.

Tap issue with Ionic and Cordova on iOS 10

iOS 10 it's still in beta, but it will be released on Tuesday the 13th.
I install the beta on my iPad and I notice that the tap is not working very well. (single tap not working, you have to tap several times to simulate a single tap (or click a button, change page and so on)
I am currently running ios 10.0.1 (updated last night) and i'm still facing this issue.
Is anybody facing the same problem?
I can see this behaviour only on my app, other apps are working fine.
The setup is:
ionic 1.3.1
cordova 6.3.1
Is there anything changed on iOS 10 events that I need to bare in mind? sorry for the vague question, but it's something I need to fix before they release it officially or I will have a lot of angry customers.
Thank you !!!
SMALL UPDATE
Replacing ng-click with on-tap should solve part of this issue. You will still have problems with ui-sref and with any other place that doesn't use ng-click tho.
I've posted this issue in a bunch of different places, if you wanna keep track of it, they are here:
https://github.com/driftyco/ionic/issues/6928#issuecomment-253463917
https://forum.ionicframework.com/t/ionic-tap-issues-with-ios10/66764
Use (tap) directive instead of (click) directive.
Angular 2:
Ionic provides you with hammerjs under the hood, if you use the (tap) directive angular 2 will do all the wiring to connect that directive with hammerjs and that removes the 300ms delay.
Good luck.
Example:
<my-component (tap)="doSomething()"></my-component>
Angular 1.x:
Try with http://ryanmullins.github.io/angular-hammer/
Is the recommended repository from the guys of hammerjs for Angular 1.x
Example:
<div hm-tap="doSomething"></div>
i found one solution on website. but i don't use ng-material in my app.
did you try this????
.config(function( $mdGestureProvider ) {
$mdGestureProvider.skipClickHijack();
})
FIXED!
I finally fixed this. I don't know if this will be useful for you tho. The issue was one plugin I bought from ionic market, and to be precise it was this one:
https://market.ionic.io/plugins/ion-time-picker
I already sent an email to the developer, but if you are using this plugin, it may be the cause of ios10 not working.

How to include Image Filters plugin in project

I am currently attempting to use DrewDahlman's Image Filters ( https://github.com/DrewDahlman/ImageFilter/tree/master/iOS ) in my project. This is apparently a Cordova/Phonegap plugin, and I do not know how to import either of these plugins into my project to make DrewDahlman's filters work. All previous attempts of finding online tutorials for getting his plugin to work, or importing Cordova/Phonegap into my project have failed.
All help appreciated.
The main problem is that Drew never updated the plugin to work with PhoneGap/Cordova 3.x+
There seems to be a fork where someone has attempted to do just that, but I have no idea if it is complete: https://github.com/doomboy00/ImageFilter

How do i update this legacy plugin[IOS] to work with phonegap//cordova 3.x

I am trying to update an old plugin i found. My Objective C skills are close to null and i was wondering if somebody could point me to a suitable guide to update this plugin. I have made a plugin.xml and installed it in my app succesfully but but the native code is way to old (phonegap 1.5)and does not work.
Would be even better if someone could help me .
This is the plugin i wanted to update for use in phonegap 3.0
https://github.com/phonegap/phonegap-plugins/tree/DEPRECATED/iOS/AudioRecord
Thanks in advance for taking out time to check this out

OnDeviceReady not firing in iOS after upgrade to Cordova

Someone asked a similar question and there are no good answers. So I thought I would help out...
I struggled with it for over two weeks and there was no easy way to find this. Apparently,you have to use the right Cordova js version with the Cordova iOS installation. It is not documented or displayed anywhere...but if you go into your cordova setup (wherever they are located on your hard drive), you can see the Cordova js file. Typically in the users/shared/cordova/framework/cordova.framework/www folder. Then copy the js file into your project, change references and that should do it.

Resources