I've recently been trying to write a game similar to Dots using Angular2 and Ionic2 frameworks, however early on I've run into a problem. I wanted to use the Deploy feature to get rid of cables and seamlessly update the app on my mobile devices, however I realised I have no idea how to import the deploy service into my project. I'll add I'm using TypeScript.
I've been looking all over the Internet, however it appears only I've been faced with such a problem. Does Deploy work with Ionic2 at all? Please forgive me if the question is naive or my mistake is foolish. I'll be grateful for any help.
My code for the main page:
import {Page} from 'ionic-angular';
@Page({
templateUrl: 'build/pages/main/main.html'
})
export class MainPage{
score: number;
moves: number;
doUpdate(){
//IonicDeploy goes here
}
}