设置TWA并部署到存储后,URL栏仍显示

时间:2019-07-12 13:03:43

标签: google-chrome progressive-web-apps trusted-web-activity

我按照有关Google开发者文档的方法使用TWA设置了PWA应用

  • 尝试将manifest.json显示属性设置为全屏显示
  • 所有stackoverflow答案

我的assetlinks.json文件

private subscription: Subscription;

ngOnInit(): void {
  this.subscription = this.http
    .get('test')
    .subscribe((x) => console.log(x));
}

ngOnDestroy(): void {
  // Here you should also do a check if subscription exists because in most cases it won't
  this.subscription.unsubscribe();
}

0 个答案:

没有答案