Skip to content

Refactor sms gateway v2 - #6

Closed
SerdarOrazmyradov wants to merge 26 commits into
wasishah33:mainfrom
SerdarOrazmyradov:refactor-sms-gateway-v2
Closed

SerdarOrazmyradov wants to merge 26 commits into
wasishah33:mainfrom
SerdarOrazmyradov:refactor-sms-gateway-v2

Conversation

@SerdarOrazmyradov

Copy link
Copy Markdown

No description provided.

…atibility

- Add OkHttp 4.11.0 for HTTP/HTTPS requests
- Add Vonage/Nexmo SMS API integration
- Add Twilio SMS API integration
- Add GSON for JSON parsing
- Add Conscrypt for enhanced SSL/TLS security
- Keep all dependencies compatible with minSdk 21 (Android 5.0+)
…rsonal/family SMS gateway

- Removed Twilio and Vonage (not needed)
- Keep OkHttp, GSON, Conscrypt for AI API communication
- Will use native Android SMS BroadcastReceiver and SmsManager
- For personal Altyn Asyr SIM card use only
- GatewayApp.kt with TLS 1.2 support
- DatabaseHelper.kt for SQLite allowlist management
- NetworkClient.kt with OkHttp configuration
- GeminiRepository.kt for Gemini AI integration
- SmsReceiver.kt for SMS handling
- MainActivity.kt with Kotlin UI
- Updated build.gradle with Kotlin dependencies
- AndroidManifest.xml with permissions
- activity_main.xml layout
- Complete implementation guide
- Create models.json with latest Gemini models
- Add ModelManager.kt to read and manage models
- Update GeminiRepository.kt to support model selection
- Update MainActivity.kt with model spinner UI
- Update activity_main.xml with model selector dropdown
- Support easy model switching without code changes
- Add <uses-feature android:name="android.hardware.telephony" android:required="false" />
- Resolves Lint error: Permission exists without corresponding hardware tag
- Allows app to run on devices without telephony hardware
- Fixed onCreate() method to properly pass savedInstanceState parameter to super.onCreate()
- Removed unused import for non-existent SmsService
- Added API_BASE_URL constant for the undefined 'url' variable used in API ping endpoint
@SerdarOrazmyradov
SerdarOrazmyradov deleted the refactor-sms-gateway-v2 branch September 1, 2026 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant