Giter Site home page Giter Site logo

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

4.3.2

  • Improve login API endpoint
  • Tested with WordPress 6.5

4.3.1

  • Improve security when handling logs

4.3.0

  • Add a limit to API requests
  • Improve security when verifying a user
  • Improve security when reseting the password
  • Tested with WordPress 6.4

4.2.5

  • Fix query_args to support tax_query

4.2.4

  • Support quotes and double quotes when resetting password

4.2.3

  • Fix JWT decode functionality

4.2.2

  • Support latest version of JWT plugin
  • Add AppPresser Bridge and IonTheme to the myappp verifier

4.2.1

  • Support textarea fields in AppPresser settings

4.2.0

  • Fix theme update transient error
  • Add a new endpoint to verify Website URL and plugins
  • Allow registration from API only if enabled

4.1.0

  • Remove deprecated files from AppPresser 1 in /pg/*
  • Validate upload by checking if file input is empty
  • Add filter on post types when adding api fields: appp_api_fields_post_types
  • Add missing permission callbacks

4.0.7

  • Fix for adding comments anonymously via API
  • Refresh bug fix
  • Support login parameter

4.0.6

  • Add API endpoint for form submissions
  • Extend comment API response to include nested replies

4.0.5

4.0.4

  • Fix settings label
  • Add auth cookie on api login

4.0.3

  • Improve API login data response, add email

4.0.2

  • Remove JWT wp-config.php requirement, move to setting

4.0.1

  • Add theme updater
  • Fix potential bug with update transient

4.0.0

  • Support for AppPresser 4
  • JWT auth for WP-API
  • Bug fixes

3.9.2

  • Security fix: remove old code

3.9.1

  • Update tested up to

3.9.0

  • User roles

3.8.0

  • Add option to use an image for the media player in the app. See how to add post meta for appp_media_image in the AppPresser docs.
  • Minor bug fixes

3.7.1

  • properly format json login error
  • fix missing user_id and token on registration
  • filters and translations for api register
  • register action hooks
  • extend transient for software updates checks to reduce the number of server calls for plugin/theme updates

3.7.0

  • Cookie fix to allow login via browser preview
  • Add action before and after login

3.6.1

  • Reset password with API for better in-app experience
  • Use https for app store.
  • Fix PHP warnings for static functions

3.6.0

  • Add API login and registration for better in-app experience
  • Add CORS access rules to API responses
  • Update language template .pot file

3.5.1

  • Bug fix for older PHP causing syntax error

3.5.0

  • Add Enable CORS admin setting
  • Add myapp_disable_remote_updates hook to allow developers to turn off API calls to myapppresser.com
  • Extend plugin/theme license checking to two weeks

3.4.2

  • Simplify short reset code
  • Language POT file update
  • Minor bug fix: check curl_version exists

3.4.1

  • Minor bug fix: check empty vars

3.4.0

  • Add support for file downloads
  • Additional support for custom post types
  • Add filter hook for login details
  • Fix app theme related bugs
  • Fix EDD naming conflict

3.3.1

  • Fix switch theme bug when using infinite scroll on list pages

3.3.0

  • Support for both login_redirect and logout_redirect hooks including responding with both title and URL
  • Add CURL, Supports OpenSSL to system log
  • Add appp_x_switch_theme hooks to allow developers to add their own logic when to switch the app theme
  • Make infinite scroll to pull the number of posts which is set as default post_per_page amount
  • More content from infinite scroll posts now use templates from the app theme instead of hardcoded markup

3.2.1

  • Add: filter hook for login/logout strings
  • Update EDD plugin/theme updater
  • Fix: properly handle appp_login_redirect filter
  • Fix: URL updates to v3 docs
  • Fix: add success boolean in ajax login response
  • Fix: deprecate safe_mode from system info
  • Fix: update language template apppressser.pot
  • Fix: license tab missing when theme is not installed

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!

AppPresser's Projects

ap3 icon ap3

Ionic app files for AppPresser 3

appcors icon appcors

Allow access to your site's resources from your AppPresser app.

appp-custom-push icon appp-custom-push

An AppPush add-on for customizing push notification sent through your myapppresser.com account

apppresser-custom-pushwoosh icon apppresser-custom-pushwoosh

Customizes the AppPresser push notifications from the AppPush plugin to customize the data sent to PushWoosh Remote API.

i18n icon i18n

Sample translation files for AppPresser apps

socialsharing-phonegap-plugin icon socialsharing-phonegap-plugin

👨‍❤️‍💋‍👨 Cordova plugin to share text, a file (image/PDF/..), or a URL (or all three) via the native sharing widget

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.