From Side Project to 25 Million Downloads : PhoneGap , Ionic

In 2011, Ryan joined Codecademy and used what he learned to turn his app idea into reality. Five years later, his side project has been downloaded 25 million times and Ryan is now the VP of Product & Engineering with the company that acquired his app.

https://medium.com/@codecademy/from-side-project-to-25-million-downloads-9e43c17cc245

Built with Ionic: Sworkit: http://blog.ionic.io/built-with-ionic-sworkit/

Originally developed using jQuery Mobile, Sworkit was in need of an update when the development team learned about Ionic



You're starting it off with the er... backward fourth right

Nick Cave - 20,000th day on the planet Earth

Ionic mobile application connection with PHP server

Travel Data Post – Ionic App With PHP Backend : https://www.codester.com/items/4052/travel-data-post-ionic-app-with-php-backend

Ionic 2.2.3 framework
Laravel 5.4 PHP framework backend
The mobile app stores the picture, GPS data, title, note in the local database
The app works offline mode. You can upload data when you have internet connection

Google Play store: https://play.google.com/store/apps/details?id=com.ionicframework.traveldatapost493306

Instructions

1. Install NodeJs with deafult setting.
Download from here: https://nodejs.org/en/
You can choose the „Latest Features” or „Recommended Most Users” package.
Tutorial video:
Check npm version:
npm –v

2. Install Android Studio with default setting.
https://developer.android.com/…
Tutorial video:

3. Add device in Android Studio
Tutorial video:

4. Create folder: ionic
Unzip my traveldatapost package

5. Open Console window, step in the app folder (I changed the type of the docs to Courier):
Step in the app folder. In the main folder see config.xml, etc.
cd C:\ ionic\traveldatapost
Install Cordova and Ionic:
npm install -g cordova
This command deletes earlier version of the ionic. Run it.
npm uninstall -g ionic
This project uses ionic 2.2.3 The version number is important.
npm install -g ionic@2.2.3
List plugins:
cordova plugin list Remove all installed plugins:
ionic state clear — plugins
List plugins again:
cordova plugin list

6. Remove Android platform: cordova platform rm android

7. Clean cache: npm cache clean
Install Android again: cordova platform add android

8. Install Ionic plugins step by step:
DB and Camera plugin installation npm install pouchdb
ionic plugin add cordova-plugin-sqlite-2
ionic plugin add cordova-plugin-camera
npm install @ionic-native/camera

9. Install File transfer plugin
npm install @ionic-native/file @ionic-native/file-path @ionic-native/transfer
ionic plugin add cordova-plugin-file
ionic plugin add cordova-plugin-file-transfer
ionic plugin add cordova-plugin-filepath

10. Geolocation plugin
ionic plugin add cordova-plugin-geolocation
npm install @ionic-native/geolocation
ionic plugin add cordova-plugin-mauron85-background-geolocation
npm install @ionic-native/background-geolocation

11. Install browser plugin
cordova plugin add cordova-plugin-inappbrowser

12. Test application
ionic run android –l
Open Chrome browser:
chrome://inspect/#devices
Remote Target > inspect
You can check the running, internet connection, upload.
Advice: If you have got error: close console, open it, go to the app directory and run again this command:
ionic run android –l
The test app was built in this folder:
traveldatapost\platforms\android\build\outputs\apk\android-debug.apk



It's not for me.

Nick Cave - 20,000th day on the planet Earth

Ionic 2.2 : Ionic Cannot resolve all parameters for ‘Storage

Yup. If you’re upgrading to Ionic 2.2.0 and above, I’d suggest reading the update guide:

What’s new with Ionic 2.2.0 and how to update: https://learnionic2.com/2017/03/12/whats-new-ionic-2-2-0-update/

Moved to NgModule to resolve dependency injection issue.

Update Steps:

Run npm install @ionic/storage@2.0.0 –save –save-exact
Remove Storage from your providers in app.module.ts
import { IonicStorageModule } from ‘@ionic/storage’ instead of import { IonicStorage } from ‘@ionic/storage’ in app.module.ts
Add IonicStorageModule.forRoot() to the imports array in app.module.ts

StackOverFlow http://stackoverflow.com/questions/42788623/local-storage-in-ionic-2-error

Error discussion: https://forum.ionicframework.com/t/trying-to-use-ionicstoragemodule-not-resolving-methods/82520/5



I mean I think for a very long time

Nick Cave - 20,000th day on the planet Earth