Android stability issues: Non-SDK API Usage Violation

Hi all,

I am using the managed workflow with SDK 39.

The ios version of the app seems fine.

But on the android side, testing my app bundle with both Firebase Test Lab and Play Console, I get the following issues:

Your app uses 3 non-SDK interfaces, which are incompatible with Android P+.

    Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z

    Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V

    Landroid/view/View;->mAccessibilityDelegate:Landroid/view/View$AccessibilityDelegate;

And I suspect these issues are behind some crashes I witnessed on real phones.

Anyone have the same issues?

Could they be caused by one or more specific dependencies I am using in my project or is it a more general problem?

Below the listed of my dependencies:

  "dependencies": {
    "@ant-design/icons-react-native": "2.2.1",
    "@ant-design/react-native": "4.0.5",
    "@react-native-community/async-storage": "~1.12.0",
    "@react-native-community/cameraroll": "4.0.0",
    "@react-native-community/picker": "1.6.6",
    "@react-native-community/segmented-control": "2.1.1",
    "@react-native-community/slider": "3.0.3",
    "@react-native-community/viewpager": "4.1.6",
    "@types/react": "~16.9.35",
    "@types/react-native": "~0.63.2",
    "@types/react-router-native": "^5.1.0",
    "expo": "^39.0.0",
    "expo-asset": "~8.2.0",
    "expo-av": "~8.6.0",
    "expo-constants": "~9.2.0",
    "expo-font": "~8.3.0",
    "expo-linking": "1.0.4",
    "expo-localization": "~9.0.0",
    "expo-status-bar": "~1.0.2",
    "expo-web-browser": "~8.5.0",
    "i18next": "19.5.2",
    "moment": "2.29.1",
    "react": "16.13.1",
    "react-dom": "16.13.1",
    "react-i18next": "11.7.0",
    "react-native": "https://github.com/expo/react-native/archive/sdk-39.0.3.tar.gz",
    "react-native-safe-area-context": "3.1.4",
    "react-native-safe-area-view": "1.1.1",
    "react-native-webview": "10.7.0",
    "react-proxy": "1.1.8",
    "react-router-native": "5.1.2",
    "typescript": "~3.9.2",
    "url": "0.11.0"
  },
  "devDependencies": {
    "babel-preset-expo": "^8.3.0"
  },

Thank you in advance for any tip or feedback.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.