Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported interpolation type: keyboard [Android] #23343

Closed
thinklinux opened this issue Feb 8, 2019 · 3 comments
Closed

Unsupported interpolation type: keyboard [Android] #23343

thinklinux opened this issue Feb 8, 2019 · 3 comments
Labels
API: Keyboard Bug Platform: Android Android applications. Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@thinklinux
Copy link

thinklinux commented Feb 8, 2019

🐛 Bug Report

Trying to use LayoutAnimation on Android with type: LayoutAnimation.Types['keyboard']. On iOS everything is working fine.

To Reproduce

import {
  UIManager,
} from 'react-native';

// Run just for Android
  UIManager.setLayoutAnimationEnabledExperimental &&
    UIManager.setLayoutAnimationEnabledExperimental(true);

   LayoutAnimation.configureNext({
     duration: this.layoutAnimationKeyboardDuration,
     update: {
       type: LayoutAnimation.Types['keyboard'],
     },
   });

console.log(LayoutAnimation.Types) gives me this:

screenshot 2019-02-08 at 12 30 10

The keyboard type is there but it is not supported for Android?

Environment

React Native Environment Info:
System:
OS: macOS 10.14.2
CPU: (12) x64 Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz
Memory: 46.61 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.13.0 - /usr/local/bin/node
npm: 6.7.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
Android SDK:
API Levels: 26, 27, 28
Build Tools: 27.0.3, 28.0.3
System Images: android-28 | Google APIs Intel x86 Atom
IDEs:
Android Studio: 3.3 AI-182.5107.16.33.5199772
Xcode: /undefined - /usr/bin/xcodebuild
npmPackages:
react: 16.6.0 => 16.6.0
react-native: 0.57.5 => 0.57.5
npmGlobalPackages:
react-native-cli: 2.0.1
react-native-git-upgrade: 0.2.7

@react-native-bot
Copy link
Collaborator

It looks like you are using an older version of React Native. Please update to the latest release, v0.58 and verify if the issue still exists.

The "Resolution: Old Version" label will be removed automatically once you edit your original post with the results of running react-native info on a project using the latest release.

@dulmandakh
Copy link
Contributor

what is your Android version?

@react-native-bot react-native-bot added the Ran Commands One of our bots successfully processed a command. label Feb 24, 2019
@react-native-bot
Copy link
Collaborator

I am closing this issue because it does not appear to have been verified on the latest release, and there has been no followup in a while.

If you found this thread after encountering the same issue in the latest release, please feel free to create a new issue with up-to-date information by clicking here.

@facebook facebook locked as resolved and limited conversation to collaborators Feb 24, 2020
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Feb 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
API: Keyboard Bug Platform: Android Android applications. Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants