General
The General Settings section of the SMS Gateway application allows you to configure core settings that affect the overall functionality and user experience of the application.
⚙️ Website
Configure the basic settings of your SMS Gateway web application.
Logo: Upload, change, or remove the application logo by clicking the "Select a New Logo" or "Remove Logo" button.
Name: Set or update the application name (e.g., "SMS Gateway").
Support URL: Provide a URL where the user can get support. This will be shown in the landing page footer and included in subscription-related emails.
Android Application (Standard): Upload the Android APK file for the standard version of SMS Gateway app, which connects the web app to the Android device. This APK has full functionality and may trigger Play Protect warning due to google's new policy.
Android Application (Lite): Upload the Android APK file for the lite version of SMS Gateway app, which connects the web app to the Android device. This APK has limited functionality and doesn't ask for RECEIVE_SMS permission, which will prevent Play Protect warning. You can build the lite version of the APK and upload it, or you can download the lite version from here and upload it. If you don't supply the lite APK, it won't be shown as an option on the Add Device dialog.
Homepage: Toggles the visibility of the homepage.
🌏 Region
Specify the country to be used when converting mobile numbers to E.164 format if they are not already in that format.
Region: The country whose calling code will be used for E.164 formatting. This will be applied as the default for all user accounts, though users can override this setting if needed.
🛂 Registration
Configure the user registration process here.
Registration Status: Toggle to enable or disable new user registrations.
Captcha: Optionally enable CAPTCHA to prevent spam registrations.
reCAPTCHA v2 Site Key: Enter the site key for Google reCAPTCHA.
reCAPTCHA v2 Secret Key: Enter the secret key for Google reCAPTCHA.
🛠️ Configuring Google reCAPTCHA
To enable and configure reCAPTCHA for your SMS Gateway app, follow these steps:
Visit Google reCAPTCHA: Go to Google reCAPTCHA Admin Console.
Register a New Site:
Label: Enter a name (e.g., SMS Gateway).
reCAPTCHA Type: Select reCAPTCHA v2 and choose the "I'm not a robot" checkbox.
Domains: Add your domain name (e.g., test.rbsoft.org).
Accept Terms: Agree to the terms of service.
Submit the form.
Copy Keys:
Copy the Site Key and Secret Key provided.
Enter in Settings:
Paste the Site Key into the reCAPTCHA v2 Site Key field.
Paste the Secret Key into the reCAPTCHA v2 Secret Key field.
Save Settings: Click the "Save" button to apply the changes.
Testing reCAPTCHA:
Visit the registration page and ensure the CAPTCHA appears correctly.
Submit a test registration to verify that CAPTCHA validation works as expected.
Troubleshooting:
If CAPTCHA doesn’t show, clear your browser cache.
Ensure the domain name is correctly added to the reCAPTCHA admin panel.
Check the browser console for any error messages.
📶 Dashboard
Settings to configure which widgets should be displayed by default for all users on the dashboard. This can be overridden by individual users in their own dashboard settings.
Stats
Campaigns: If enabled, it will show stats for all campaign statuses.
Calls: If enabled, it will show stats for all call types.
Messages: If enabled, it will show stats for all message statuses.
USSD Pulls: If enabled, it will show stats for all USSD Pull statuses.
Settings
Realtime: Enables a real-time dashboard view.
📢 Announcements
Manage announcements displayed to users.
Guest Announcement: Enter announcements for non-registered users shown on the landing page.
Member Announcement: Enter announcements for logged-in users shown on the dashboard page.
📜 Scripts
Add custom scripts to the header and footer of the application. These scripts can be used for tracking, analytics, or any other custom functionality.
Header: Enter custom JavaScript code to be included in the website's header.
Footer: Enter custom JavaScript code to be included in the website's footer.