Closed datawaslost closed 4 years ago
AccessoryBar is an iPhone thing, the iPad and Android bars have different names and as far as I know they can't be removed.
This one works for me
import React from 'react'
import { Plugins } from '@capacitor/core'
const { SplashScreen } = Plugins
const { Keyboard } = Plugins
Keyboard.setAccessoryBarVisible({isVisible: true})
This one works for me
import React from 'react' import { Plugins } from '@capacitor/core' const { SplashScreen } = Plugins const { Keyboard } = Plugins Keyboard.setAccessoryBarVisible({isVisible: true})
THANKS GOD
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Bug Report
Capacitor Version
npx cap doctor
output:Affected Platform(s)
Current Behavior
Using the Keyboard plugin to hide the keyboard accessory bar has no effect on iOS 13 or Android.
Expected Behavior
The Keyboard Accessory bar should hide when isVisible is set to false.
Sample Code or Sample Application Repo
Keyboard.setAccessoryBarVisible({isVisible: false});
Does not affect how the keyboard displays. You can hide the accessory bar by setting autocorrect and autocomplete attributes on iPhone, but the bar will still display on iPads.
Reproduction Steps
Other Technical Details
This function returns as unimplemented in Android (Keyboard.java) but there's code that should implement it on iOS in Keyboard.m
npm --version
output:node --version
output:pod --version
output (iOS issues only):Other Information