amplitude / amplitude/Amplitude-TypeScript

[bug] saveEvents option missing for amplitude init function

オープン
#180 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
TypeScript
スター
180
フォーク
68
平均マージ
3日 1時間
マージ済み PR(30日)
29

説明

According to https://github.com/amplitude/Amplitude-TypeScript/commit/6fde736ca8a865462522082a8085673756dbcc7d **saveEvents** option is missing so there is no way to save events if user loses internet connection.
As well **saveEvents** option not works in previous versions of sdk

## Expected Behavior
**saveEvents** option back and work properly

## Current Behavior
missing **saveEvent** option and have no opportunity to track events with "lack of internet areas" like subway

## Steps to Reproduce
1. Install SDK
2. Mock "no internet connection" in Chrome DevTools
3. Track some events
4. Revert mock
5. Track some event(Also I tried to flush and have same result). Only 1 event sent

## Environment
- TS SDK Version: 0.5.1 and 1.1.2
- Installation Method: npm
- Browser and Version: Chrome Version 104.0.5112.79 (Official Build) (arm64)

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。