Fabric被徹底關停,好在可以直接遷移到firebase.但是firebase上的enent有點不是特別友好,所以記錄下。
- 需要自己手動添加自定義事件eventName,且有個數限制
- 調試自己上傳的event是否成功
在terminal終端下輸入如下指令,在調試過程中,可以看到具體的上傳內容文檔鏈接
上傳過程中注意eventname只不支持特殊字符(Event names can be up to 40 characters long, may only contain alphanumeric characters and underscores ("_"), and must start with an alphabetic character.)
詳見,https://firebase.google.com/docs/analytics/errors