GithubHelp home page GithubHelp logo

austincunningham / cordova-showcase-template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aerogear-attic/cordova-showcase-template

0.0 1.0 0.0 4.99 MB

Apache Cordova Example for AeroGear Services

License: Apache License 2.0

JavaScript 1.64% TypeScript 57.58% HTML 31.20% CSS 9.58%

cordova-showcase-template's Introduction

Cordova Showcase Application Template

Android Compatible green iOS Compatible green Ionic%20Version 3 green Angular%20Version 4 green typescript cordova showcase template

Project Info

License:

Apache License, Version 2.0

Build:

NPM

End User Documentation:

https://docs.aerogear.org

Community Documentation:

https://www.aerogear.org

Issue tracker:

https://issues.jboss.org/browse/AEROGEAR

Mailing lists:

aerogear-dev

A template application to showcase features from Aerogear Js SDK.

As this application showcases features from Aerogear Js SDK ensure you checkout the desired git tag for whatever SDK version you intend to run. Check NPM for associated versions and releases.

Pre-requisites

To run this application, the following is required (depending on which platform you wish to run the application on):

Build Instructions

Cloning the application

git clone [email protected]:aerogear/cordova-showcase-template.git && cd cordova-showcase-template

Running the App

This application can be run as a showcase using a published version of the AeroGear Js SDK, or as a development aid to working on the SDK.

Run Showcase

The master branch will always track to the latest release of the SDK.

To build the showcase app, run:

npm install
npm run ionic:build

You can choose to run the application on android or ios.

npm run ionic:android // to run in an android

npm run ionic:ios // to run in an ios

Troubleshooting

Working with iOS and Android together

When running the application on both android or ios you will need to clean the projects root directory to remove conflicting files specific to each platform This can be done by running the following:

npm run clean
iOS Pod linking Issue

If after running the application for iOS you get the following error:

ld: library not found for -lGoogleToolboxForMac
clang: error: linker command failed with exit code 1 (use -v to see invocation)

run the following command from the root of the directory:

cd platforms/ios && pod install

and then re build the application.

Work with Self-signed Certificate

Note, if using Android API Level 24 or newer, you must tell the application to trust user certificates by using a file such as this one and including it in the android platform like this in the config.xml:

<resource-file src="network_security_config.xml" target="app/src/main/res/xml/network_security_config.xml" />
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
    <application android:networkSecurityConfig="@xml/network_security_config" />
</edit-config>

License

Questions?

Join our user mailing list for any questions or help! We really hope you enjoy app development with AeroGear!

Found a bug?

If you found a bug please create a ticket for us on Jira with some steps to reproduce it.

cordova-showcase-template's People

Contributors

ciaranroche avatar wtrocki avatar stephencoady avatar pawelpaszki avatar pb82 avatar josemigallas avatar aidenkeating avatar jhellar avatar jasonmadigan avatar laurafitzgerald avatar rachael-oregan avatar mikenairn avatar camilamacedo86 avatar grdryn avatar ziccardi avatar tommyj1994 avatar tomjackman avatar

Watchers

James Cloos avatar

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.