@mediahack wrote:
Ionic Platform Beta is out http://blog.ionic.io/
I'd like to use it with my new Ionic2 app. Specifically for the Auth features.
I followed the instructions, but it seems to be geared for v1 not v2 apps.
- Ran through the getting started. Error:
ionic add ionic-platform-web-client
Bower component installed - ionic-platform-web-client
ERROR: Error: ENOENT: no such file or directory, open './www/js/app.js'
at Error (native)
Is your app declaration contained in 'app.js'?I continued. I setup Facebook and Google per the docs. Finally I tried to use the Ionic Auth and it failed
Ionic.Auth.login('facebook', {'remember': true}).then(success, failure);
The iOS simulator web inspector console showed:
ORIGINAL EXCEPTION: ReferenceError: Can't find variable: Ionic
Posts: 1
Participants: 1