• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

facebook / react-native / 3e45791f-4fd6-41dd-9c46-b0c805092c65

pending completion
3e45791f-4fd6-41dd-9c46-b0c805092c65

push

CircleCI

Facebook GitHub Bot
Reverting LoadingView change of native implementation of DevLoadingView (#35744)

3615 of 26397 branches covered (13.69%)

Branch coverage included in aggregate %.

8 of 8 new or added lines in 1 file covered. (100.0%)

7397 of 44564 relevant lines covered (16.6%)

234.83 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/Libraries/Utilities/LoadingView.android.js
1
/**
2
 * Copyright (c) Meta Platforms, Inc. and affiliates.
3
 *
4
 * This source code is licensed under the MIT license found in the
5
 * LICENSE file in the root directory of this source tree.
6
 *
7
 * @format
8
 * @flow strict-local
9
 */
10

11
import ToastAndroid from '../Components/ToastAndroid/ToastAndroid';
×
12

13
const TOAST_SHORT_DELAY = 2000;
×
14
let isVisible = false;
×
15

16
module.exports = {
×
17
  showMessage(message: string, type: 'load' | 'refresh') {
18
    if (!isVisible) {
×
19
      ToastAndroid.show(message, ToastAndroid.SHORT);
×
20
      isVisible = true;
×
21
      setTimeout(() => {
×
22
        isVisible = false;
×
23
      }, TOAST_SHORT_DELAY);
24
    }
25
  },
26
  hide() {},
27
};
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc