I am using UserDictionary.Words class's addWord function to add Words to Dictionary so that they can show up in Text prediction. The Words do exist in the dictionary with APP_ID=0
and available for default android keyboard.
However I am using Swift keyboard and it is not considering those words for Prediction.
I am using this TUTORIAL
UserDictionary.Words.addWord(this, "ThisIsSomeWordIwantForPrediction", 250, null, Locale.getDefault());
My question is how can I add words such that they are available for prediction for all keyboards