Hi!
I’m really new to Capacitor and trying to create Android app from mine Angular 13 app.
I’ve done all by manual How to Build a Native App from Angular Projects with Capacitor | Devdactic.
App has been built and running, but I got white screen and nothing to do with that.
Mine Index.html is clear:
<body class="mat-typography">
<app-root></app-root>
</body>
and real root is home component with buttons which are navigating further
<div class="container text-center">
<h1>LocalTube</h1>
<p class="lead">Домашний видеосервис</p>
<div class="btn-group-vertical">
<button class="btn btn-info btn-lg" [routerLink]="['/books/series']" >Мультсериалы</button>
<button class="btn btn-info btn-lg" [routerLink]="['/books/soviet']" >Советские мультики</button>
<button class="btn btn-info btn-lg" [routerLink]="['/books/sovietfairytale']" >Советские сказки</button>
<button class="btn btn-info btn-lg" [routerLink]="['/books/animation']" >Зарубежные мультики</button>
<button class="btn btn-info btn-lg" [routerLink]="['/books/balley']" >Балет</button>
<button class="btn btn-info btn-lg" [routerLink]="['/books/film']" >Фильмы</button>
<button class="btn btn-info btn-lg" [routerLink]="['/books/adultSeries']" >Сериалы</button>
<button class="btn btn-info btn-lg" [routerLink]="['/books/other']" >Разное</button>
<button class="btn btn-info btn-lg" [routerLink]="['/audio/main']" >Аудио</button>
<button class="btn btn-info btn-lg" [routerLink]="['/books/latest']" >Недавнее</button>
</div>
</div>
When I run angular app it is navigated to the home component at the start and everything is ok. But for Capacitor generated Android app it doesnt works.
More then that. If I’m copying those buttons to the Index.html they are displaying, but tap on them do nothing. Looks like routing system isn’t work.
I haven’t find any info on that type of problem, please help me.
Source code of my project is on GitHub.