NfoAlex / Girack-m-

Girack, with better built inside.
1 stars 0 forks source link

webkitだとログインできないエラー #112

Closed ayok01 closed 1 week ago

ayok01 commented 2 weeks ago

詳細確認中

image image
ayok01 commented 2 weeks ago

ガチ終わってる

ayok01 commented 2 weeks ago

めも

  //localStorageから設定を読み込む
  const datConfigLocal = getConfigLocal();
  if (datConfigLocal !== null) {
    //同期設定がONなら設定取得
    if (datConfigLocal.sync || datConfigLocal.config === null) {
      //設定データを取得する
      socket.emit("fetchUserConfig", {
        userId: userId,
        sessionId: sessionId,
      });
    } else {
      //localStorageにある設定データをそのまま適用
      useConfig().updateConfig(datConfigLocal.config);
      //同期設定をオフとして設定
      useConfig().updateConfigSyncStatus(false);
    }
  } else { //設定データがないなら絶対取得
    //設定データを取得する
    socket.emit("fetchUserConfig", {
      userId: userId,
      sessionId: sessionId,
    });
  }
ayok01 commented 2 weeks ago

Unhandled Promise Rejection: ReferenceError: Can't find variable: Notification

ayok01 commented 2 weeks ago

https://stackoverflow.com/questions/41493866/firebase-on-ipads-safari-cant-find-variable-notification

ayok01 commented 2 weeks ago

直せたーーー

NfoAlex commented 2 weeks ago

くさ

NfoAlex commented 2 weeks ago

@ayok01 通知許可の取得方法がWebkitでは対応してなくてエラーで処理全体が止まるからっていう認識でいい?

ayok01 commented 2 weeks ago

そうね

NfoAlex commented 1 week ago

116 ここにて対応