[I don't have time to work on this anymore. Use at your own risk] Build WordPress based PWA, iOS, Android & Windows phones apps in minutes!
Complete rewrite with Ionic 2+ (Angular 2+)
Details: https://github.com/wordpress-clients/hybrid/pull/344
There is no way to upgrade v2 to v3.
To start a new project follow the docs: https://wordpress-clients.gitbooks.io/pwa-hybrid/
To upgrade:
$ git fetch --all
$ git checkout v2.0.3
$ yarn
$ rm -rf platforms/ plugins/
$ npm run restore
To upgrade:
$ git fetch --all
$ git checkout v2.0.2
$ yarn
$ rm -rf platforms/ plugins/
$ npm run restore
To upgrade:
$ git fetch --all
$ git checkout v2.0.1
$ yarn
$ npm run restore
2.0.0 REQUIRES WORDPRESS 4.7 or higher!
To upgrade:
$ git fetch --all
$ git checkout v2.0.0
$ yarn
$ npm run restore
If you upgrade to WordPress 4.7, you can remove WP-API plugin.
filter
params is deprecated, if you use custom query filters here is the changes you need to make:
- "filter[orderby]": "date"
- "filter[order]": "desc"
- "filter[post_status]": "publish"
+ "orderby": "date"
+ "order": "desc"
+ "status": "publish"
in menu.json
you need to change public.taxonomies.slug
by public.taxonomies.id
and replace the slug
of the taxonomie per its id
.
For example:
- "route": "public.taxonomies.slug({ term: 'category', slug: 'uncategorized', postType: 'post' })",
+ "route": "public.taxonomies.id({ term: 'categories', id: 1, postType: 'post' })",
Also terms changed. category
is now categories
and post_tag
is now tags
.
To upgrade:
$ git fetch --all
$ git checkout v2.0.0-beta16
$ yarn
$ npm run restore
If you upgrade you will need to remove this crosswalk rule from your config.xml
=> https://github.com/shprink/wordpress-hybrid-client/commit/8143a93839972d16f430349cd091e7eb91c219db#diff-b6bb989dd6bb152b38e30e84f2d7e195L25
Learn how to reduce the apk size, with Crosswalk lite => https://github.com/shprink/wordpress-hybrid-client/blob/develop/BUILD.md#crosswalk
To upgrade checkout git fetch --all && git checkout v2.0.0-beta15
and run npm i
To upgrade checkout git fetch --all && git checkout v2.0.0-beta14
and run npm i
$barHasIconTitleMarginLeft
To upgrade checkout git checkout v2.0.0-beta13
and run npm i