As I read this your message now, I rushed to confirm my related b4a app that uses the same mlkit text recognition. Mine is working fine in android 14, SDK 34, are you sure fault is not from your code? Have you ran same b4a version that worked before, but just stopped working or are you just running it for the first time?
If running for the first time, try to ensure all the necessary SDK components are installed and ensure your sdk is updated to sdk 34. Also, ensure most of your core related library used like Core are checked against online version in the library tab to ensure they are updated to the latest version.
Don't forget google new policy that affects mediachooser by declaring appropriate service type as Erel instructed. I am not Infront of my computer at moment, but mine is working with no issue on my android phone, I am not sure it should be because of this your statement: "... It seems that Google made some changes that caused the B4A version to stop working..."