Open JacoFourie opened 1 year ago
I have now deployed my app to iOS and Android. The light Icon text is in English on Android but is Chinese on iOS. Can I recommend that you write all your comments etc., in English? English is also not my first language, but most people understand it.
@JacoFourie
Which mode are you using?
If the scanKit?.startScan();
is used for scanning, it may not be possible to modify it because it is a page provided by the HUAWEI SDK, which is not open source. If you are customizing the view, then just modify it yourself.
But in default mode (i.e. using startScan()
), the SDK displays the text based on the current system language, and if your phone's system language is set to English, it will display English on the UI as well.
@arcticfox1919 I am using the default mode / sample. I am not building my own screen. My language is English
With the previous version, the Chinese text was not there. So is the only way now to not show the flash icon and Chinese text to build my own screen?
Could you provide a screenshot? I see that the flashlight display is in English on my end. I need to figure out where the problem lies. Of course, the quickest solution would be to customize the view.
This was on the iPhone using version 1.24
And this is how it looks now on the iPhone using version 2
This is on Android now, using version 2
I have now installed my app on 3 iPhones, and on all of them, it shows the Chinese text.
I have now used the custom view. Just a note you are using some deprecated code in there.
The window call is deprecated.
@JacoFourie The issue with this translation resource has been reported to Huawei. Now, we are waiting for the update of the Huawei SDK.
I now have a flash icon to switch the flash on and off with Chinese writing. How do I remove the text?