Skip to content

Commit

Permalink
refactor(analytics): Set 0.0.0 as version on dev env
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuNls committed Nov 24, 2016
1 parent 81b11d4 commit 75d16a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ export class MyApp {

AppVersion.getVersionNumber().then(
(version)=> GAService.appVersion = version
).catch(
(err)=> {GAService.appVersion = "0.0.0"}
);

if(platform.is('ios')){
Expand Down

0 comments on commit 75d16a4

Please sign in to comment.