Skip to content

API docs are out of date #5200

Closed
Closed

Description

@gaurangnirmal

Steps to Reproduce

  1. AppOpsManager.CheckOp and AppOpsManager.CheckOpNoThrow are deprecated.
    No documentation found for updated content.

Expected Behavior

  • Updated methods like,
    unsafeCheckOp(java.lang.String, int, java.lang.String).
    unsafeCheckOpNoThrow(java.lang.String, int, java.lang.String).

and documentation regarding it, should be available.
Please refer below link for more info,
https://developer.android.com/reference/android/app/AppOpsManager#public-methods

Actual Behavior

  • Deprecated methods like,
    AppOpsManager.CheckOp(java.lang.String, int, java.lang.String).
    AppOpsManager.CheckOpNoThrow(java.lang.String, int, java.lang.String).

Found deprecated in latest apis but no updat in documentations or anything regarding it.
Please Refer links for more info.
https://docs.microsoft.com/en-us/dotnet/api/android.app.appopsmanager.checkop?view=xamarin-android-sdk-9
https://docs.microsoft.com/en-us/dotnet/api/android.app.appopsmanager.checkopnothrow?view=xamarin-android-sdk-9

Version Information

Visual Studio v16.7.4
XF v4.8.0.1364
I am targeting my project to API-29.

Activity

  1. changed the title [-]AppOpsManager.CheckOp and AppOpsManager.CheckOpNoThrow is deprecated[/-] [+]API docs are out of date[/+] on Oct 13, 2020
  2. added this to the Under Consideration milestone on Oct 13, 2020
  3. gaurangnirmal commented on Oct 14, 2020

    @gaurangnirmal
    Author

    These methods are not accessible from code, too. Giving compilation errors. Even if i am targeting my project to API-29.

  4. jpobst commented on Oct 14, 2020

    @jpobst
    Contributor

    Ah, I misunderstood and thought only the documentation was missing.

    The methods are missing due to a binding issue. I have submitted a PR that fixes the methods here: #5208.

  5. 2 remaining items

  6. ghost locked as resolved and limited conversation to collaborators on Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: Mono.AndroidIssues with the Android API binding (Mono.Android.dll).

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions