Example #1
0
 protected async Task InstallClicked()
 {
     SfToastObjRef?.Hide();
     try
     {
         await _pwaModule.InvokeVoidAsync("installPWA");
     }
     catch (Exception e)
     {
         Log.Logger.Error(e, nameof(InstallClicked));
     }
 }
Example #2
0
 public Task ShowInstallPrompt()
 {
     return(SfToastObjRef.Show());
 }