Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

ionic-team/ionic-starter-cardboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ionic Cardboard

Use Ionic, Three.js and WebGL to build a Google Cardboard app as part of the Angular Cardboard Hackathon. To get started, install the ionic and cordova CLI tools:

$ sudo npm install -g ionic cordova
$ ionic start myApp cardboard

Next, we should modify the config.xml file to force the app to be in landscape mode. Add this line anywhere inside of <widget>:

  <preference name="orientation" value="landscape" />

Then, to run it, cd into myApp and run:

$ ionic platform add ios
$ ionic build ios
$ ionic emulate ios

Substitute ios for android if you'd like to target android instead. The iOS toolchain only works on a Mac, though it can be a bit faster to get up and running with for testing.

About

A google cardboard template for Ionic

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages