I've looked around quite a bit and can't seem to find an elegant solution to this. I basically need to disable any kind of suggestions that show up above the keyboard in both Android and iOS. So far, the solutions I've tried seem to work the iOS simulator at least, but not on Android.
I've tried the following:
For pure React Native, setting autoCorrect={false}, spellCheck={false} and autoComplete="off"
For Native Android, importantForAutofill="no" or:
getWindow().getDecorView().setImportantForAutofill(View.IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS);
In the onCreate(...) method of MainActivity.
For Android, is there any way to disable these suggestions completely? Perhaps some configuration in the AndroidManifest or styles? Any help is appreciated.
EDIT: I'm using the TextInput from the react-native-paper library.
Can you try keyboardType="visible-password" ?
Related
Hi i am working in react native 0.61.4 and i got crashes in android not for iOS.
java.lang.ArrayIndexOutOfBoundsException:facebook.react.uimanager.ViewGroupDrawingOrderHelper.getChildDrawingOrder(ViewGroupDrawingOrderHelper.java:98)
Android Crash only
https://github.com/facebook/react-native/issues/27610
I have also created issue but nothing seem to helpful
Can anybody tell me what is the actual error and how to fix this.
thanks
I fixed it by understanding
ViewGroupDrawingOrderHelper.java
The mistake i was doing that i was giving loader of zIndex 70 in style.
that's why app was crashing on android. on iOS it was working fine. and
by removing zIndex 70. from styles, my crash fixed ❤️
If you still want to keep the zIndex, you can add the following to the FlatList:
removeClippedSubviews={false}
Credit to this comment on a react-native issue.
Not sure how this affects performance, seems like iOS has this as false by default.
Even though Clickable Span is not supported in {N}, but is there any workaround for this?
I have read the following thread but still don't really know how to implement on NativeScript-Vue, may anyone help, please?
Feature request: ClickableSpan support for iOS and Android
Nothing changes with Vue except the fact everything will be JS and event handlers will follow Vue syntax.
Here is the Vue implementation of the same demo project. I was able to test it on Android, not having access to iOS device ATM. Let me know in case if you hit any issues.
Update:
Updated playground link with fixes for iOS
I faced off a problem that I can't solve. I've searched on the web before posting this but I found nothing really useful for me.
Straight to the point. This is the problem, I have a ion-searchbar that does not receive keyboard input in Android device. I run that with ionic cordova CLI and the build was successful.
Please help me, all the other features of the app work well, I only have to fix this.
<ion-searchbar [(ngModel)]="searchedText" [showCancelButton]="shouldShowCancel"
(ionInput)="onInput($event)" (ionClear)="onCancel($event)"></ion-searchbar>
That searchbar does not receive any character of my keyboard input.
If I run it on local with ionic serve it works instead.
What could be the problem?
Found the solution.
I put that searchbar in ion header instead of ion content. I changed that and then it worked.
I am building a titanium classic mobile project where I want a Facebook like slider menu, both for Android and iOS. In GitHub I have found projects which work great for iPhone but dont work with Android. I have been trying for weeks now but without much success.
I want a solution which works for both Android and iPhone. Can anyone share some information on the same.
Thanks a lot!
There is a very good solution, NappDrawer Module works fine for android and iOS, and if you face a bug, you post it and most probably they help you or they fix it.
You're gonna have to use views for android and windows for iOS.
Here's the module's link NappDrawer Module.
And this is the documentation.
I tried the Facebooklike plugin as showed in Like Box with android browser using PhoneGap, to my surprise the scroll didn't work at all. No scrollbars appeared and find no way to scroll the contentin webkit.
Anybody tried this, did figure out a solution?
Thanks
I think the like function is about to be deprecated or merged with the share functionality. Try using the share method using facebook's android library http://developers.facebook.com/docs/guides/mobile/#android