ionic-team / ionic-team/ionic-docs

content: broken link

Đang mở
#4,381 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
content
Ngôn ngữ chính
MDX
Star
621
Fork
3.2k
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
86

Mô tả

### URL

https://ionicframework.com/docs/native/status-bar

### Issue Description

## Summary

The StatusBar documentation page contains a broken external link. The link text "Android 16+ behavior change" points to an outdated/removed Android API URL and returns a "This site can’t be reached". This should be updated to point to the current Android API reference for the same attribute or removed if no direct replacement exists.

## Affected page

https://ionicframework.com/docs/v7/native/status-bar

## Broken link

- Link text: "Android 16+ behavior change"
- Broken URL: https://developer.android.com/reference/android/R.attr#windowOptOutEdgeToEdgeEnforcement

## Steps to reproduce

1. Open the StatusBar documentation page: https://ionicframework.com/docs/v7/native/status-bar
2. Find the link with the text "Android 16+ behavior change".
3. Click the link it navigates to the developer.android.com URL above which currently returns a "This site can’t be reached" or otherwise does not resolve to the expected API reference.

## Actual behavior

Clicking the link fails to load the expected Android API documentation for the referenced attribute.

## Expected behavior

The link should point to the current Android API reference for the attribute (R.attr.windowOptOutEdgeToEdgeEnforcement) or to an equivalent up-to-date documentation page that describes the Android 16+ behavior change referenced by the StatusBar docs.

If an exact API page no longer exists on developer.android.com, consider:
- Linking to the relevant Android release notes or migration guide that documents the behavior change, or
- Removing the broken link and replacing it with a short explanatory note and a reference to the appropriate Android docs or issue tracker.

## Suggested fix

1. Verify the current official Android documentation for `R.attr.windowOptOutEdgeToEdgeEnforcement` or the Android 16+ behavior change. If a new URL exists, update the link target accordingly.
2. If no direct API reference exists anymore, replace the link with one of:
- The Android release notes for the API level that introduced the behavior change, or
- A canonical Android migration guide or blog post that documents the change.
3. Optionally, add a note in the docs explaining why the link was updated (e.g., external doc moved/removed).

## Additional information

- Page: ionicframework.com docs v7 — StatusBar native plugin page
- Broken is an external link to developer.android.com that may have been moved or removed by Android documentation restructuring.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.