change(ios): set host-app bundle identifier in embedded Web debug-report #13105
+23
−10
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In our current Sentry reports coming from within the iOS app's keyboard host-page, we get the following under
keymanState
:It is certainly helpful to know that the error occurred with the
app/webview
build on an Apple tablet - that tells us it's from some variant of our iOS engine. But... which one? This PR fetches the active bundle identifier and ferries that into the Web engine once it loads, which will allow us to have the actual active identifier.Tavultesoft.Keyman
.Tavultesoft.Keyman.SWKeyboard
I decided to pursue this due to some questions I had after investigation into #13102; namely, we've noticed in the past that users of the FirstVoices app often decide not to utilize
sil_euro_latin
, which is our engine's default keyboard. There's a chance that #13102 is related to side effects that result when users enforce this preference.@keymanapp-test-bot skip