AppPresser Core WordPress plugin
JavaScript PHP CSS HTML
Latest commit e2e2e94 May 30, 2017 @stillatmylinux stillatmylinux version bump

README.md

AppPresser

Introduction

AppPresser is the first native mobile app development framework for WordPress.

AppPresser allows you to use a WordPress site as an app, including access to device features such as the camera, contacts, and more. You can create your app completely in WordPress, using themes, plugins, and all the stuff you already know.

Developers can use this plugin to make custom apps, or custom extensions for AppPresser. If you are not a developer, please see our website for more information about creating an app with WordPress.

This plugin is not an app-creator in itself, it serves as the core for all app development with AppPresser.

Note: This repository is for code contributors. To use this plugin on your website, please download here: http://wordpress.org/plugins/apppresser/

After cloning this repository, please change the folder name from "AppPresser" to "apppresser" to fix dependency errors.

What this plugin does:

  • Integrates Phonegap with WordPress, which exposes the Phonegap API
  • Allows you to use javascript (using the Phonegap API) to use native device features
  • Allows you to use other AppPresser plugins and themes to create an app
  • Adds a settings page with app-only homepage, menus, and theme settings

What this plugin DOES NOT do:

  • It does not automatically create an app for you, or give you a WYSIWYG app creator
  • It does not change your desktop site
  • It does not build the app for you

How do I use it?

  • Install and activate the plugin
  • Add AppPresser themes or extensions to create your app
  • Build your app yourself with Phonegap, or with our build service
  • Distribute to the iOS/Android app stores

Changelog

3.2.0

  • Make the BuddyPress avatar available to the app if it's set
  • Add more details to the system info

3.1.3

  • Fix Facebook connect removing app theme cookies
  • Update language .pot template

3.1.2

  • Fix PushWoosh deep linking for Android
  • Add System Info to admin settings
  • Misc. bug fixes

3.1.1

  • Support for WMPL translations in apps
  • Fix Android deep linking for AppPush
  • Parse URL query from infinite scroll

3.1.0

  • Improve infinite scroll
  • Make logout with ajax available
  • Add Avatar to ajax login response
  • Use mobile friendly password reset codes
  • Fix admin styling for checkboxes
  • Bug fixes
  • Update EDD SL

3.0.2

  • Bug fixes to help activating licenses

3.0.1

  • Add back javascript upload settings for v2
  • Remove extensions feed page

3.0.0

2.7.2

  • Display a message when the getCurrentPosition timesout when getting GPS location
  • Fix notification alert for iOS

2.7.1

  • fix redirect on settings page

2.7.0

  • Fix customizer compatibility issues with WordPress 4.7
  • Add filters for custom login/logout redirects
  • Add class for links to open In-App Browser and close it on pause to force stop audio/video on Android
  • Fix custom links for PushWoosh notifications for Android
  • Fix opening external media on touch events

2.6.2

  • Fix bug for geolocation places
  • Add l10n variables for AppPush
  • Fix displaying HTML in customerizer
  • Fix notification variables changes from PushWoosh plugin

2.6.1

  • Send open/close keyboard events to AppAds
  • Allow externally linked images to open in the In-App browser
  • Send open/close keyboard events to Ion and AppTheme to help fix copy/paste issues with iOS

2.6.0

  • Bug fixes
  • Allow translatable text
  • Show the KeyboardAccessaryBar on iOS
  • Add fb_id param for AppFBConnect
  • Add a custom callback for fb login

2.5.0

  • Add options to IAB window.open
  • Optionally allow external links to not show the app theme, forces a page reload on return
  • Improve logic when using In-App browser for external URLs to decifer relative links, tel: and mail:
  • Fix click events related to the .swiper-container for AppSwiper
  • Read device id whether it is a string or object
  • Make AppAds check each OS separately for existing ad settings
  • Fix expired license message

2.4.0

  • Add the ability to use AdMob ads in the AppAds plugin
  • Bug fix: improve logic of comparing domains when opening the InApp browser

2.3.3

  • Enqueue jQuery to fix missing localized variable ajaxurl for AppTheme and Ion theme

2.3.2

  • Fix events triggering prior to iframe not yet ready
  • Clear iOS badges on app launch
  • Fix iOS bug for URL target for _system when target is IMG
  • Bail AdMob init when no ad codes are set in wp-admin

2.3.1

  • AppGeo bug fix for empty lat and long on checkin

2.3.0

  • Quick start admin settings
  • Verify THEME_SLUG
  • Add external-media class to open URLs using the Google Docs previewer
  • Kill videos on Android pause event

2.2.1

  • fix links with the 'external' class that have the same domain as the site to open in the InAppBrowser.

2.2.0

  • fix go back button for Android
  • add filter for Facebook graph fields
  • fix AppPresser_Logger error for multisite
  • remove wp_cron for AppPresser_Logger and use alternate method to turn off logging

2.1.0

  • Give developers the ability to uploads custom js files for the app in the WP Admin
  • Add AJAX login to #loginform modal (requires also updating AppTheme and Ion theme)
  • Add js to recognize css class 'system' to set a link's target to '_system' so links open in Safari or Chrome
  • Fix external links that should open in the In-App Browser
  • Other bug fixes

2.0.0

  • New features to enable offline app capabilities
  • Moves cordova files from the website to the device
  • Bug fixes

1.4.0

  • Include phonegap files for 3.7.0
  • Add 3.7.0 option to admin settings
  • Remove logging from multisite
  • Improve the logic around creating the log file
  • Add an admin nag for log file which each admin can dismiss
  • Fix log file URL
  • Verify backbutton event before calling maybeGoBack
  • Fix typos in readme files

1.3.3

  • Add noGoBackFlag feature to allow any app to stop the mayGoBack function (appbuddy 0.9.9 initially)
  • Fix Android back button when 'disable dynamic page loading' is enabled

1.3.2

  • bug fix: Android back button

1.3.1

  • Remove static homepage option from customizer
  • Add option for posts on mobile homepage
  • Standardize text-domains
  • Add logging for debugging and customer support

1.2.0

  • Stop youtube videos on app exit
  • Fix undefined index error
  • Add ajax functions for AppTheme

1.1.9

  • Started updating changelog again, yay!
  • Add support for Facebook connect extension
  • Delete unnecessary files

1.1.4

  • Update to support Phonegap 3.6.3
  • Add option to switch between Phonegap versions
  • Bug fixes, translation updates

1.1.3

  • Roll back script optimization to fix push notifications and other bugs

1.1.2

  • Fix for splashscreen hide

1.1.1

  • Enhancement: optimize cordova scripts to only load when needed
  • Moved app menu settings to theme customizer exclusively
  • Hide app splashscreen on load
  • Misc bug fixes

1.1.0

  • Fixed annoyance of settings page not returning to the tab you were on when you clicked 'save.'
  • Enhancement: New filter, "apppresser_sanitize_setting_$key" for registering your own sanitization callback to override AppPresser's.
  • Enhancement: New filter, "apppresser_field_override_$type" for registering your own field type view callback to override AppPresser's.
  • Enhancement: Added CMB. Settings API will be re-worked in next versions to use CMB.

1.0.9

  • Bug Fix: App-theme settings were not getting displayed if the theme was not active (despite being set as the App-only theme)

1.0.8

  • Bug Fix: Theme_mod settings would get the non-theme_mod setting warning asterisk if no value had been saved to them yet.
  • Bug Fix: If the "Load AppPresser for Admins Only" setting was not checked, the theme customizer would try to activate the app theme from the customizer.

1.0.7

  • Enable theme customizer for the App-only theme while theme is not active. There is now a link to customize the theme below the select dropdown.

1.0.6

  • Enhancement: New filter apppresser_theme_settings_file that allows you to set the location of your theme's AppPresser settings registration (so your settings show when the theme is not active). Will fallback to looking for appp-settings.php file in the theme root.
  • Enhancement: New filter apppresser_notifications, allows other plugins/themes to add their own notification count.

1.0.5

  • Enhancement/Bug Fix: Don't delete license keys and other options if a particular plugin is deactivated at the time of saving.
  • Enhancement/Bug Fix: AppPresser "App only theme" option now works with child themes.
  • Enhancement: Add a apppresser_tab_top_$tab hook to match the apppresser_tab_bottom_$tab hook.

1.0.4

  • Extensions submenu highlighting available for AppPresser add-ons.
  • Addressed some pre-PHP 5.3 notices.
  • Bug Fix: White-screen on the front end if selecting a theme in the "App only theme?" setting that does not support AppPresser. An error will now be shown.
  • Improvement: appp_get_setting() now accepts a fallback option like get_option().

1.0.3

  • Bug Fix: plugins_loaded firing too early causing conflicts with other plugins.
  • Improvement: Check child theme for app-settings.php file as well as parent theme.
  • Improvement: Added method for loading AppPresser theme despite aggressively cached web hosts.

1.0.2

  • Bug Fix: Conflict causing other themes to appear to need an update.

1.0.1

  • Bug Fixes
  • Add theme updater and updater API
  • Better styling for "MP6"

1.0.0

  • Release into the wild!