UNPKG

react-native-social-x-auth

Version:

A lightweight React Native library for authenticating with X (formerly Twitter) using OAuth 2.0 with PKCE. Provides a secure and seamless login experience through Android Custom Tabs and iOS Safari ViewController. Built specifically for integrating X auth

11 lines 423 B
import type { TurboModule } from 'react-native'; export interface Spec extends TurboModule { /** * Opens the given URL in the internal browser (Custom Tabs / SFSafariViewController) * Returns a Promise<boolean> with true if the URL was opened successfully */ open(url: string): Promise<boolean>; } declare const _default: Spec; export default _default; //# sourceMappingURL=NativeSocialXAuth.d.ts.map