Ionic 2 limit the page name?


#1

Hello, there is a limit to the name of a page?
Today, I faced a problem when the name of my page was very large.
my home.html:

<ion-buttons>
    <button secondary block large round (click)="goToBackGroundGeolocation()">
      <ion-icon name="ios-navigate-outline"></ion-icon>
    </button>
  </ion-buttons>

my old home.ts:

  goToBackGroundGeolocation(){
    this.nav.push(BackGroundGeolocationPage);
  }

Only worked when I changed the page name
my new home.ts:

  goToBackGroundGeolocation(){
    this.nav.push(GeolocationPage);
  }

#2

Any chance a reference to the longer name had a typo in it? LongStudlyCapsCaseNames are particularly prone to inconsistencies in capitalization.


#3

It was typo.
this was my import:

import {BackGroundGeolocationPage} from "../back-ground-geolocation/back-ground-geolocation";