yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] Roughy:
Exi for Swiftkey 1.9.0 release

1.9.1 [ 01.02.2018 ] - Custom portrait/landscape size, compatibility ( Stable: 7.2.1.17, Beta: 7.2.2.31 )

Changes in 1.9.1

Fixed

- Compatibility targeting 7.2.2.31 ( Custom search, sticky incognito )

- broken thumb layout, empty space next to keyboard on some devices.

Changed

- Separate keyboard size multipler for landscape/portrait

Changed

- Updated translations ( Polish, Russian, Croatian )

The Xposed Installer app does not appear to be refreshing properly and may not list the latest version.

Please download it directly from the Xposed Repository below using a browser.

Download:

Exi for Swiftkey on Xposed module repository

Notes:

Compatibility [MENTION=9380335]Addicted-Adnan[/MENTION]

Swiftkey change, I fix. Search and incognito sticky should work in beta now, as well as in stable.

Broken thumb layout / space next to keyboard [MENTION=5786402]Zordak7[/MENTION]

This didn't seem especially widespread, so I put off pushing an update with the fix.

While I could not reproduce the issue reported, the thumb layout was completely broken.

Fixed that, hoping it will fix the other issue too.

Separate keyboard size multiplier for portrait/landscape [MENTION=7727877]Indranil0[/MENTION] [MENTION=5044560]oroboros74[/MENTION]

When you click the keyboard size multiplier button in settings now, you will have two separate number pickers to specify the size multiplier for the keyboard.

Portrait on the left, landscape on the right. As before this multiplier is applied in addition Swiftkey's own keyboard size setting, so combine it with that for more granular control.

Translations!

I used to give our wonderful translators a heads up before an update so they could have a look, but lately I've been just pushing updates and including whatever strings happen to be translated at that point. This likely angers the translators, but they still carry on and get the job done. A few of the languages are a bit out of date, probably because I never message the translators asking them to update the translations anymore, but Polish, Russian, and Croatian are all up to date!

( Except for 2 new strings I added like 5 minutes ago imsosorry )

1.9.0

Shhhhhhhhhhhhhhhhhhh
[Xposed Framework Modules] KaMyKaSii:
You forgot to increase the version code, so the new version does not appear as an update in the Xposed Installer
[Xposed Framework Modules] Roughy:
Mother. ****er.

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
[Xposed Framework Modules] KaMyKaSii:
Sometimes we pay close attention to the more complex details and forget the simplest things, it happens :silly:
[Xposed Framework Modules] Roughy:
Fixed!

1.9.0 never happened.

Long live 1.9.1!
[Xposed Framework Modules] Taracair:
Guys I'm struggling with xposed on my Huawei Y7 (trt-lx1), I cannot install it.

Is there a way to use Exi without xposed? There is some Tai-Chi in the first post, how to use it?

Edit

Allright so I've got:

- Tai-Chi updated

- Exi for SwiftKey version 1.8.1

- SwiftKey version 7.1.8.29

And it doesn't work.

Any ideas?
[Xposed Framework Modules] Roughy:
Tai-Chi seemed to work on Nougat and Oreo ( maybe ARMv7 variant only ), but runs into problems on Pie. Since the Tai-Chi dev limits you to a specific version of the module, we can't really make any attempts to fix it.

The EdXposed Magisk modules appears to work fine on Pie ( and probably earlier versions of android too ), but also requires the ARMv7 variant.
[Xposed Framework Modules] XtraWater:
Thanks for keeping this great module updated.
[Xposed Framework Modules] Uraniam9:
[MENTION=6797900]Roughy[/MENTION] thanks a lot for the quick updates

[emoji1635] Cheers
[Xposed Framework Modules] Roughy:
Exi doesn't mess with the predictions beyond inserting shortcuts and swapping the candidates around when swiping and such.

Exactly what word it ends up predicting will depend on Swiftkey's learning data, but there does indeed appear to have been a change on the beta branch.

In the current Beta release I can't go further than "islamis" before it gives up, last prediction being "islam".

Meanwhile in stable, I can keep going and it eventually predicts "islamorada", which is as reasonable a result as you can expect with no learning data in a language where that is not a word.

The prediction being incorrect aside, at least it doesn't give up like beta does at the moment.

Both tests performed with US English keyboard with leaning data wiped.

tl;dr Swiftkey has probably changed their flow prediction algorithm in the beta branch.

Edit: hah, no ninja edits on my watch.
[Xposed Framework Modules] Uraniam9:
[MENTION=6797900]Roughy[/MENTION] you are gem man, may I know your country

Its hilarious [emoji23], when I informed you about the word after few seconds gesture worked for word islamisaton so i immediately removed it here but how you catched it [emoji849]️
[Xposed Framework Modules] Roughy:
I'm in Norway, but may not adhere to to GMT daylight hours.

XDA has gotten a lot better about sending email notification when you're quoted or mentioned, so I tend to get on things fairly quickly.
[Xposed Framework Modules] ace_apr27:
I just updated to Pie on my OnePlus One. and installed EdXposed to run Exi. For some reason, enabling Exi makes SwiftKey's shift button unresponsive. A touch on the Shift key registers as a little swipe-squiggle which results in the key not getting pressed. Other than that the module seems to work perfectly. The pie controls work, all of the lenny faces I've put into the popups show up, the prediction bar mod works. It's all good, except for this tiny annoyance. It isn't an app breaking bug, I can figure out ways around it, but if it's not too much to ask, a fix or some advice would be much appreciated :)

Is there a setting that I can toggle to prevent this from happening, or is this some sort of known issue? Are there any logs I could collect and provide to help diagnose it? I could upload a screen record if you need one! Additional details below.

ROM: Havoc OS v2.1, Android 9

Baseband: DI.3.0.c6-00241M8974AAAAANAZM-1

Kernel: 3.4.113-Thunder_Kernel_v6S-[OSS-Cam]-g1ced771 #1 Sat Aug 18 18:08:044 IST 2018

Build Number: PQ1A.190105.004

SwiftKey Version: SwiftKey Beta 7.2.3.20

Exi Version: 1.9.1

Magisk Version: 18.0(18000)

Riru Core: v11

Riru - Ed Xposed: v0.2.9.7_beta

Xposed Framework Version: 90.0-0.2.9.6 (SDK 28)
[Xposed Framework Modules] KaMyKaSii:
Do you have any special reason to be running EDXposed v0.2.9.6? I ask this because v0.2.9.7 has been available since 4 days ago
[Xposed Framework Modules] ace_apr27:
Ah! I had no idea. I'll update and see if the issue persists :)

UPDATE: I updated to the latest EdXposed (v0.2.9.7) and the issue still persists. Further, now I get a message every now and then that SwiftKey has stopped working (even when I'm not even using SwiftKey!)
[Xposed Framework Modules] fijasko:
I have the same problem with the unresponsive shift key.

The workaround is to disable Selection mode From Shift / Delete in the settings.

Also, I couldn't install v0.2.9.7 at all without going into bootloop, so I went back to v0.2.9.6. I'm on MIUI custom ROM though.
[Xposed Framework Modules] BadToThePhone:
[MENTION=6797900]Roughy[/MENTION]

---------- Post added at 07:15 PM ---------- Previous post was at 07:12 PM ----------

[MENTION=6797900]Roughy[/MENTION]
[Xposed Framework Modules] ivoe:
this is a older version of swiftkey just before 6.0

it still has "enter" in emoji keyboard

this enter key works in games like clash of clans to expand a single message rather then spamming

hope this helps
[Xposed Framework Modules] tim2shin:
Here is the xposed log file - http://rgho.st/7MZ8Vh9Y8
[Xposed Framework Modules] Roughy:
Your log suggests that your Xposed install is fairly messed up.

All the other errors relating to other modules and the framework aside, it does claim to load the Exi module:

08-18 14:31:38.550 I/Xposed (19369): Loading modules from /data/app/com.mayulive.swiftkeyexi-1/base.apk
08-18 14:31:38.646 I/Xposed (19369): Loading class com.mayulive.swiftkeyexi.LoadPackageHook

but never calls the loadPackageHook method.

I cannot say if this is a result of your Xposed Framework install, or the ten-thousand other modules you have crashing,

but in any case, it is very unlikely to be an issue with the Exi module itself.
[Xposed Framework Modules] Kiryo24:
Very nice app. Can we have option to remove space after "."?
[Xposed Framework Modules] tim2shin:
Well what is your suggestion then? How do I fix this?
[Xposed Framework Modules] oroboros74:
With all the problems you're having your best bet is to do a clean install of xposed and the modules.
[Xposed Framework Modules] mattiadj:
Keyboard often fc after last SwiftKey update

Inviato dal mio SM-G935F utilizzando Tapatalk
[Xposed Framework Modules] Roughy:
Xposed log? Logcat stack trace? Module version? Swiftkey version? stable or beta? "Latest" tells me nothing

The module is generally set up to catch any mistakes /it/ makes, and removes any hooks that appear to be causing trouble.

If the module is resulting in Swiftkey crashing I am going to need a stacktrace from logcat to have any idea what happened.

This is the first report I've had of anything crashing though, and I have no encountered any problems with that last several versions of swiftkey/beta myself.

Need details!
[Xposed Framework Modules] Roughy:
Exi 1.0.2 Release

Update - V 1.0.2 - bug fixes, vertical swipe, punctuation auto-space

Change log:

Fixed

- Quick Menu triggering with the wrong finger

- Custom actions with the Shift key not working in some langauges (e.g. Korean)

- ; - ) emoticon having been incorrectly entered as ,-) ( Will not affect existing installs )

- Emoji replacing composing text instead of inserting cleanly

Added

- Vertical cursor movement when swiping

- Ability to disable auto-space after punctuation

Download:

Exi for Swiftkey on the Xposed Module Repository

Notes:

Vertical cursor movement is implemented by sending dpad up/down events to the inputconnection. It works surprisingly well.

The only downside is that if you try to move up while already on the top line, the cursor will move to the very beginning of the text.

Ditto for the very bottom line. Don't think I can fix that. There is also a limit to how fast it can move vertically, due to having to make sure we are not already at the beginning/end. If we send more dpad events from there we start moving around the ui outside of the text box.

Also note that this implementation is limited to single-cursor movement, so it is disabled when selecting text. Also disabled when only swiping on the space bar.

Disabling auto-space after punctuation is achieved by basically tearing out the entire system that applies punctuation rules.

From what I can tell doing this shouldn't have any side effects. If it comes down to it I can also edit the rules file directly to make more discrete changes.
[Xposed Framework Modules] tim2shin:
Thanks for this lovely module. I have two suggestions.

1) Most of the time, I use one hand to type. I want to move cursor using one hand. Though it can be done with two options, swipe anywhere and swipe on spacebar. Swipe anywhere disable swipe typing and swipe on spacebar is not that helpful as I need it to change between languages.

I thing swiping on Number Row to move cursor can be useful. I don't think anyone type number by swiping.

2) Can you please add Undo and Redo option like AI.TYPE keyboard?

Thanks for your time.
[Xposed Framework Modules] K0media:
Thank you so far.

It's alright, [MENTION=6797900]Roughy[/MENTION]. I'm glad you took your time to watch the feedback video. I really appreciate all the effort you've been doing so far with this outstanding mod I've been waiting for years. Not sure if I should mention on SK VIP Forums, though.

But also, I'm completely satisfied with what have you been doing so far. No matter what time it takes, just keep calm and carry on with your good work. :p

I know developing such thing isn't as easy as it seems, and the design and style are pretty neat. You're a fine dev and front-end artist. (Watch out, as SK dev team may even invite you to work with them! :laugh: )

I'll keep an eye here and at the Xposed Framework in order to follow new updates.

Thanks for the detailed info and the good job, seriously. (I just wonder what will it be from my life if I get to move from Lollipop to Nougat as there's no Xposed Framework... :( )

About this last one... Yes, both are good ideas. It's up to you if you want to implement one first or both at the same time. Actually, I think the other users may have a better idea for this to be implemented, I'm not that creative person...

Regards,

---------- Post added at 04:59 PM ---------- Previous post was at 04:47 PM ----------

Undo and Redo options are on the way. Did you read the last changelog?
[Xposed Framework Modules] K0media:
Oh, yeah, [MENTION=6797900]Roughy[/MENTION]. I almost forgot.

Try to add the translation strings to Crowdin or any of these platforms:

http://alternativeto.net/software/crowdin/?license=free

That way users can contribute to translate your mod for all languages. ;)
[Xposed Framework Modules] abhianand123:
Feature Request: Can you add an option to remove the suggestion strip present on top of the keyboard.
[Xposed Framework Modules] minhduong11:
Sorry but i can not find undo redo option
[Xposed Framework Modules] jaidev.s:
Hi, thanks for this wonderful app.

is there any way to see the list of all "learned words" so that I could delete the ones which are not supposed to be seen by kids?
[Xposed Framework Modules] fubo73:
Hi,

I know it could not be the proper section, but my issue started after some days I installed Exi.

I was used that with long tap I can select text in text pages and input boxes, then I could use rulers for multiple selection.

Now long tap works ok in text pages (like web pages), but do not work anymore in input boxes (chrome address input bar, whatsapp input box, sms app input box, droid text editor, ...).

I tried disabling/uninstalling Exi, changing keyboard to Samsung default, disabling all Xposed modules, no success.

Does anyone have any hint to help me?
[Xposed Framework Modules] Roughy:
As some of you might have noticed, a lot of things are broken as of the latests Swiftkey Beta release (6.6.7.24)

The Xposed Framework basically works by intercepting method calls, and some changes appear to have been made to discourage this.

For instance, loading a keyboard xml used to be handled by method which recursively called a separate method to generate each actual key.

Splitting the code into separate, reusable chunks like this is programming 101, but they've gone to the effort of moving all of this logic into the main keyboard xml method, completely removing the method I hooked into.

The same goes for the candidates layout loader; What used to be a series of orderly methods is now a mess of code stuffed into a single method.

They've either let an intern lose on their codebase, or they are intentionally sabotaging the module.

Not to worry though, nothing that can't be worked around.

Just make sure to stick to your current version of Swiftkey for the time being.

This is going to be a bit more involved than accommodating incidental changes, and will probably break backwards compatibility too.
[Xposed Framework Modules] alex_long:
Hi and thanks for this module :good:. I speak English but it's not my native language. I know what flow means but could you please give a comment about the meaning of this word in the application or explain in a couple of words how it works in this mudule.

Thank you.
[Xposed Framework Modules] Roughy:
"Flow" is what Swiftkey calls its swiping/gliding text input feature

When typing using Flow, the first (primary) prediction is automatically inserted for you, which is why I have a separate option to enable inserting shortcuts there.
[Xposed Framework Modules] ace_apr27:
Oh joy, that worked! I never use the selection modes, so it isn't something I will miss either. Thanks a ton!
[Xposed Framework Modules] dimdimdim:
Guys, may someone explain or point me to an explanation of how to use the features below? If it's possible to add additional enter and delete keys on the left side of the keyboard? How to do this?

Plus, I did a try to add delete key, but then deleted it, and now the default shift key does nothing :(

"Keys:

Here you can choose which keys will be treated as shift, delete, and modifiers keys by this module.

See the beginning of this post for a more detailed explanation.

Unlike Hotkeys, here you can define keys not only be their content, but also their function.

By default it makes sense for the shift and delete keys to be mapped to their respective keys,

but some languages do not have a shift key, and in others the delete key is an a completely unreasonable location.

The content field is only available if Letter or Symbol key is picked from the list. "
[Xposed Framework Modules] Roughy:
[MENTION=4549435]fijasko[/MENTION] [MENTION=4670577]ace_apr27[/MENTION]

So this is pretty much confirmed an EdXposed-specific thing. I suppose we should be grateful that is the only issue there.

I asked for a logcat dump to see what was going wrong, but I guess I'm just going to have to reinstall Pie on my device again and see what's up.

I'll hopefully get to that soonish. Thanks for letting people know of the fix in meanwhile.

I asked if you had a specific gif that worked in gboard but not discord. Going by the Swiftkey thread on the subject it appears to be a bit hit-and-miss.

Yeah, I should get around to rewriting and updating those guides.

The keywords here are " treated as ... by this module ".

This module has 3 configurable keys: shift, delete, and modifier.

Shift and Delete are named as such because they are the default keys used for the swipe-from-shift and swipe-from-delete features, as well as the hold-shift-and-swipe thing.

However, some languages do not have a shift key, or a delete key, so you can configure other keys to act like them, but this only affects what this module might do when they are pressed. They do not become actual shift and delete keys, it just lets you use them to trigger the key-dependent features of this app.

The modifier key is a bit more reasonably named. It basically behaves like ctrl on a full-sized keyboard for use with ctrl+/x/c/v/z/y hotkeys.

Your issue with the shift key may by may the EdXposed-specific I refer to above.
[Xposed Framework Modules] BadToThePhone:
I sent you a few PMs. Gboard gifs load properly on all apps. It's something to do with Swiftkey gifs. Not a single gif loads with Swiftkey. Maybe the link for the gif is too long to load. I noticed there's Bing within address. Is there a way to possibly use different links for the gifs to load? This was not an issue in the past. Thanks
[Xposed Framework Modules] Indranil0:
Swiftkey stable 7.2.2.32 launched
[Xposed Framework Modules] Roughy:
Never saw a link in any of those. IN ANY CASE

It seems Swiftkey will insert a Bing link that forwards you to the actual image, rather than a direct link to the actual image.

For example: https://tse2.mm.bing.net/th?id=OGC.a340ffd8d03f0225b8a4d7989473ef12&pid=Api&rurl=https%3a%2f%2fmedia.giphy.com%2fmedia%2fGAWU3wsf1Sv8k%2fgiphy.gif&ehk=qbKU41yS8hiFjYrvW9k8uQ

which will direct you to https://media.giphy.com/media/GAWU3wsf1Sv8k/giphy.gif

Discord evidently doesn't follow the redirect or something, and instead gives you what I assume is a static screenshot of the link interpreted as a standard web page.

I saw them mention something about "making a compromise between quality and size" and such, so maybe the redirect checks if the image is above a certain size, and makes a local, smaller copy if necessary or something? Who knows.

In any case, that can certainly be fixed. I'll apparently be trying to fix the shift key issue so hopefully soonish.

In this case we are only pasting urls though, as opposed to actually passing an image along to the input, which is fancier feature.

That's likely always going to be the case for images inserted via the search function, so probably maybe all we need to worry about.
[Xposed Framework Modules] Roughy:
And more interestingly, Beta 7.2.3.20 where you can now natively choose if you want to use Bing or Google when searching!

https://i.imgur.com/g4Mgo1m.jpg

So take note that the custom search engine thing doesn't work if it is set to Google, because we specifically search for a url with "bing.com" in it.
[Xposed Framework Modules] BadToThePhone:
This would be amazing if you could make this work. Thanks for trying. If you do fix it will it still put in a address or image?
[Xposed Framework Modules] Roughy:
I'm not really sure how they may be choosing between posting the url and posting the actual image file. Obviously they're going to fall back to the url if posting the file simple isn't support by the application, but I have no idea if there is some kind of cut-off depending on file size and resolution when both options are available.

I wouldn't expect the process to be under Swiftkey's control when you paste an image file instead of a URL, so this probably won't affect that.

In the case of Discord at least, both gboard and Swiftkey seem to be pasting the url when posting a randomly-selected gif from the GIF search panel; Swiftkey just inserts a redirecting bing url, while gboard inserts a link directly to the image.
[Xposed Framework Modules] Uraniam9:
[MENTION=6797900]Roughy[/MENTION] what is your main profession dude , are you on social?

---------- Post added at 02:25 PM ---------- Previous post was at 01:59 PM ----------

SwiftKey crash log

https://del.dog/zewimenula
[Xposed Framework Modules] Roughy:
Native segfault.

Could potentially be caused by the xposed framework itself doing weird things, but not by anything this module does.

I am not on social, but I do have a discord channel if you wish to yell at me in real time: https://discord.gg/6tZgQXX
[Xposed Framework Modules] Uraniam9:
It's automatically fixed after some minutes, maybe crash happens while hooking and your actual profession?
[Xposed Framework Modules] Roughy:
Xposed itself can break things in weird ways.

Self-employed.
[Xposed Framework Modules] fijasko:
Just wanted to let you know I'm now able to use ARMv8 variant of Swiftkey on my ARMv8 device without any hiccups. Not sure what changed.

Exi v.1.9.1

EdXposed v.0.2.9.6 beta

Swiftkey v.7.2.2.32 stable
[Xposed Framework Modules] BaschtlWaschtl:
I updated SwiftKey 7.2.2.32 and I saw that SwiftKey starts inkognito mode when you open a private tab in Firefox.

Is this possible for opening an app?

Start inkognito mode when app xy is open..

Greets

Baschtlwaschtl
[Xposed Framework Modules] BadToThePhone:
[MENTION=6797900]Roughy[/MENTION] Unfortunately I'm still getting Bings gif url. I tried disabling and reenabling the Bing option in exi and restarted my phone. And I also tried SwiftKey versions 7.2.2.32 and 7.2.3.24. Thanks for the update.
[Xposed Framework Modules] Roughy:
Could you paste the url you are ending up with?

The regex pattern I landed on will match any bing.net address with an rurl parameter, which is also the only thing I've seen so far.

Could you also check if there's anything out of the ordinary in your xposed log. I am explicitly a logging any problems it runs into with this hook there.

This release targets 7.2.3.20, but it is definitely working with 7.2.2.32, so it shouldn't be a hook problem.

Them using a different url than what I've observed is the most likely culprit
[Xposed Framework Modules] Peter1212:
Is there any way I can achieve this without xposed or root? Any kind of application modification somehow? Well at least just unlocking the pg13+ gif and more gif search providers part? Or in the gboard in anyway?
[Xposed Framework Modules] Roughy:
If you've got Magisk you can use it with EdXposed.

On a completely non-rooted device, Tai-Chi is your only option, but you will be limited to a specific older version of Exi ( and Swiftkey ), and likely have to use the ARMv7 build as well. It also does not seem to be compatible with Pie.

I have only personally confirmed it working on Nougat.