Unable to change logout prompt [ReactNative]

I’m trying to logout and on calling clear session method (using react native framwork)

this.auth0Client.webAuth.clearSession()

am getting an prompt box and the content of the box is

"ziva" Wants to use "auth0.com" to Sign in

on method, i don’t option to change content and i don’t have control over it, our App is live and we don’t have any clue how to change

Hello Friend,

Her is my code to solve this

if you’re facing an issue with changing the logout prompt in a React Native application, it’s likely related to the way you’re handling the logout functionality. Below is an example of how you might implement a basic logout prompt in a Reactjs Support Native application using the Alert component. Make sure to adapt it to your specific use case:

import React, { useState } from ‘react’;
import { View, Text, Button, Alert } from ‘react-native’;

const App = () => {
const [isLogoutPromptVisible, setLogoutPromptVisible] = useState(false);

const handleLogout = () => {
// Display the logout prompt
setLogoutPromptVisible(true);
};

const handleConfirmLogout = () => {
// Perform logout actions here (e.g., clear user session)
// …

// Hide the logout prompt
setLogoutPromptVisible(false);

};

const handleCancelLogout = () => {
// User canceled logout, hide the prompt
setLogoutPromptVisible(false);
};

return (

Welcome to My App

  {/* Logout Prompt */}
  {isLogoutPromptVisible && (
    <Alert
      title="Logout"
      message="Are you sure you want to logout?"
      confirmText="Logout"
      cancelText="Cancel"
      onConfirm={handleConfirmLogout}
      onCancel={handleCancelLogout}
    />
  )}
</View>

);
};

export default App;

If you are facing a specific issue with changing the logout prompt, please provide more details, and I’ll be happy to help you further.

Thank you for your response but on iOS I have to remove that prompt first so can you give me a hint to disable the prompt on logout and that alert box isn’t from the auth0 side any solution without a hack?