G-Tateth React Native SDK
The G-Tateth React Native SDK adds a complete customer support experience to your mobile app. It includes:- A support launcher and welcome screen
- Help Center articles
- Customer conversation history
- New and existing conversations
- Real-time agent replies
- Image and file attachments
- Customer ratings and feedback after a conversation is resolved
- Branding and behavior controlled from the G-Tateth dashboard
Requirements
- An existing React Native or Expo application
- A G-Tateth tenant ID or tenant domain
- The G-Tateth API URL for your environment
1. Install the SDK
From the root of your React Native project, run:2. Add the support component
ImportGtatethSupport and render it in the screen where your customers should
access support:
GtatethSupport manages the launcher, Help Center, Messages, chat screen,
navigation, attachments, and feedback survey. Most integrations only need this
one component.
If your app already has a Help & Support screen and should open the welcome
modal immediately instead of showing the launcher-only screen first, use both
openHelpCenterOnMount and showLauncher={false}:
openHelpCenterOnMount opens the modal containing “Send us a message” and “Help
center” directly. showLauncher={false} removes the floating chat icon, which
is useful when the host app already has its own Help & Support navigation.
Configuration
baseUrl
Use the API URL for the environment you are connecting to:
Tenant identity
Provide at least one of these values:tenantId— the G-Tateth workspace IDtenantDomain— the G-Tateth workspace domain
Customer
Pass the current customer from your host app:customer object is optional. Pass the customer’s email when you want the
Messages screen to load and reopen their previous conversations.
Optional: control what happens when the customer closes support
By default, pressing the X button closes the support flow. If your app needs to perform another action, provideonClose:
Dashboard-managed settings
Clients configure the mobile support experience in: G-Tateth → Settings → Chat Widget The mobile app does not show a customer Settings screen. The SDK loads the tenant’s saved dashboard settings when the support experience opens. Dashboard settings can control:- Welcome screen, Help Center, Messages, and chat appearance
- Header and bot image
- Backgrounds, text, bubbles, borders, and dividers
- Customer and agent message colors and borders
- Composer background, divider, text field, attachment button, emoji button, and send button
- Fonts, font sizes, theme, and branding visibility
- Greeting, availability, typing indicator, sound, notifications, and chatbot behavior
- Open Settings → Product → Chat Widget.
- Update the setting.
- Click Save Widget Settings.
- Close and reopen the support experience in the mobile app.
Troubleshooting
Tenant not found
Check that thetenantId or tenantDomain exactly matches the values provided
by G-Tateth and that the correct baseUrl is being used.
Settings are not updating
Confirm that the dashboard setting was saved, then close and reopen the support experience. The SDK fetches the latest tenant settings when it opens.Blank or stale screen during Expo development
Restart Expo and clear the Metro cache:Customer conversations are missing
Confirm that the current customer’s email is being passed in thecustomer
prop.