mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-18 22:37:43 +00:00
Change parameter names for Firebase logging
The `.` character isn't allowed in parameter names passed to Firebase analytics. This was flagging Firebase errors when trying to view the events in the Firebase console. Replacing `cm.` with `cm_` works. (cm is just the naming convention I used for JS ConsoleMessage properties)
This commit is contained in:
parent
4931de9e64
commit
ce1781124a
1 changed files with 3 additions and 3 deletions
|
|
@ -514,9 +514,9 @@ final class KMKeyboard extends WebView {
|
|||
private void sendKMWError(int lineNumber, String sourceId, String message) {
|
||||
Bundle params = new Bundle();
|
||||
// Error info
|
||||
params.putInt("cm.lineNumber", lineNumber);
|
||||
params.putString("cm.sourceID", sourceId);
|
||||
params.putString("cm.message", message);
|
||||
params.putInt("cm_lineNumber", lineNumber);
|
||||
params.putString("cm_sourceID", sourceId);
|
||||
params.putString("cm_message", message);
|
||||
|
||||
// Keyboard info
|
||||
if (keyboardType == KeyboardType.KEYBOARD_TYPE_INAPP) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue