Updating phonegap and ionic tutorials.

This commit is contained in:
Alberto Pose 2014-07-17 15:08:04 -03:00
Родитель 30178e298c
Коммит 08038d161c
2 изменённых файлов: 34 добавлений и 2 удалений

Просмотреть файл

@ -24,7 +24,23 @@ Move that script into your scripts folder (usually `app/scripts/`). Then, in you
<script src"scripts/auth0-widget.js"> </script> <script src"scripts/auth0-widget.js"> </script>
``` ```
### 2. Customize it to your needs ### 2. Install InAppBrowser
Execute the following command to include `InAppBrowser` in your app:
```sh
phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser.git
```
And add to your `config.xml`:
```xml
<feature name="InAppBrowser">
<param name="ios-package" value="CDVInAppBrowser" />
</feature>
```
### 3. Customize it to your needs
Take a look at the [Angular Examples](https://github.com/auth0/auth0-angular/tree/master/examples). Take a look at the [Angular Examples](https://github.com/auth0/auth0-angular/tree/master/examples).

Просмотреть файл

@ -24,6 +24,22 @@ Move that script into your scripts folder (usually `app/scripts/`). Then, in you
<script src"scripts/auth0-widget.js"> </script> <script src"scripts/auth0-widget.js"> </script>
``` ```
### 2. Customize it to your needs ### 2. Install InAppBrowser
Execute the following command to include `InAppBrowser` in your app:
```sh
phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser.git
```
And add to your `config.xml`:
```xml
<feature name="InAppBrowser">
<param name="ios-package" value="CDVInAppBrowser" />
</feature>
```
### 3. Customize it to your needs
@@sdk2@@ @@sdk2@@