title: How to prevent copy to clipboard in TextInput react-native on Android?
body: <p>I want to prevent user to copy content in TextInput but it works only on iOS but not for Android. How can I do this on Android?</p>
  <p>[Update]: As the <a href="https://github.com/facebook/react-native/pull/17335" rel="nofollow noreferrer">link</a> @patel-dhara has given below, I already read commit about <strong>contextMenuHidden</strong> property and found that only handle <em>onLongClick</em> event on Android. So, still can <code>copy to clipboard</code> on TextInput by double-tap to it.</p>
  <p><strong>Here is my code:</strong></p>
  <pre><code>&lt;TextInput
    style={styles.input}
    placeholder=&quot;Password&quot;
    placeholderTextColor=&quot;rgba(255, 255, 255, 0.7)&quot;
    underlineColorAndroid=&quot;transparent&quot;
    secureTextEntry={isHidePass}
    returnKeyType=&quot;go&quot;
    autoCapitalize=&quot;none&quot;
    onChangeText={this.handleTextChange}
    onSubmitEditing={this.handleLogin}
    ref={this.passwordRef}
    contextMenuHidden
    onBlur={() =&gt; Clipboard.setString('')}
    onFocus={() =&gt; Clipboard.setString('')}
    onSelectionChange={() =&gt; Clipboard.setString('')}
  /&gt;
  </code></pre>