bundle id and package name refactored

master
tahaalam 1 month ago
parent 9d079062cb
commit 54a21c9619

@ -23,7 +23,7 @@
"project_id":"736430079244816567", "project_id":"736430079244816567",
"app_id":"102857389", "app_id":"102857389",
"api_key":"CgB6e3x9DJzMgRCmnT6dyUEkp6UsIfddb6l3w0ZEXzeiRMHEFi3400Z5fJ5qaHneU0OrAI/JRpk+DMGVs3QpUxlI", "api_key":"CgB6e3x9DJzMgRCmnT6dyUEkp6UsIfddb6l3w0ZEXzeiRMHEFi3400Z5fJ5qaHneU0OrAI/JRpk+DMGVs3QpUxlI",
"package_name":"com.ejada.hmg" "package_name":"com.redseaglobal.redseahealth"
}, },
"oauth_client":{ "oauth_client":{
"client_id":"102857389", "client_id":"102857389",
@ -31,7 +31,7 @@
}, },
"app_info":{ "app_info":{
"app_id":"102857389", "app_id":"102857389",
"package_name":"com.ejada.hmg" "package_name":"com.redseaglobal.redseahealth"
}, },
"service":{ "service":{
"analytics":{ "analytics":{
@ -57,12 +57,12 @@
"configuration_version":"3.0", "configuration_version":"3.0",
"appInfos":[ "appInfos":[
{ {
"package_name":"com.ejada.hmg", "package_name":"com.redseaglobal.redseahealth",
"client":{ "client":{
"app_id":"102857389" "app_id":"102857389"
}, },
"app_info":{ "app_info":{
"package_name":"com.ejada.hmg", "package_name":"com.redseaglobal.redseahealth",
"app_id":"102857389" "app_id":"102857389"
}, },
"oauth_client":{ "oauth_client":{

@ -23,7 +23,7 @@
"project_id":"736430079244816567", "project_id":"736430079244816567",
"app_id":"102857389", "app_id":"102857389",
"api_key":"CgB6e3x9DJzMgRCmnT6dyUEkp6UsIfddb6l3w0ZEXzeiRMHEFi3400Z5fJ5qaHneU0OrAI/JRpk+DMGVs3QpUxlI", "api_key":"CgB6e3x9DJzMgRCmnT6dyUEkp6UsIfddb6l3w0ZEXzeiRMHEFi3400Z5fJ5qaHneU0OrAI/JRpk+DMGVs3QpUxlI",
"package_name":"com.ejada.hmg" "package_name":"com.redseaglobal.redseahealth"
}, },
"oauth_client":{ "oauth_client":{
"client_id":"102857389", "client_id":"102857389",
@ -31,7 +31,7 @@
}, },
"app_info":{ "app_info":{
"app_id":"102857389", "app_id":"102857389",
"package_name":"com.ejada.hmg" "package_name":"com.redseaglobal.redseahealth"
}, },
"service":{ "service":{
"analytics":{ "analytics":{
@ -57,12 +57,12 @@
"configuration_version":"3.0", "configuration_version":"3.0",
"appInfos":[ "appInfos":[
{ {
"package_name":"com.ejada.hmg", "package_name":"com.redseaglobal.redseahealth",
"client":{ "client":{
"app_id":"102857389" "app_id":"102857389"
}, },
"app_info":{ "app_info":{
"package_name":"com.ejada.hmg", "package_name":"com.redseaglobal.redseahealth",
"app_id":"102857389" "app_id":"102857389"
}, },
"oauth_client":{ "oauth_client":{

@ -18,12 +18,12 @@ if (keystorePropertiesFile.exists()) {
android { android {
namespace 'com.ejada.hmg' namespace 'com.redseaglobal.redseahealth'
compileSdk 36 compileSdk 36
ndkVersion '28.2.13676358' ndkVersion '28.2.13676358'
defaultConfig { defaultConfig {
applicationId "com.ejada.hmg" applicationId "com.redseaglobal.redseahealth"
// minSdk 24 // minSdk 24
minSdkVersion 26 minSdkVersion 26
targetSdkVersion 36 targetSdkVersion 36

@ -10,7 +10,7 @@
"client_info": { "client_info": {
"mobilesdk_app_id": "1:815750722565:android:62281cd3e5df4063", "mobilesdk_app_id": "1:815750722565:android:62281cd3e5df4063",
"android_client_info": { "android_client_info": {
"package_name": "com.ejada.hmg" "package_name": "com.redseaglobal.redseahealth"
} }
}, },
"oauth_client": [ "oauth_client": [

@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.ejada.hmg"> package="com.redseaglobal.redseahealth">
<!-- Flutter needs it to communicate with the running application <!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc. to allow setting breakpoints, to provide hot reload, etc.
--> -->

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
package="com.ejada.hmg"> package="com.redseaglobal.redseahealth">
<!-- <!--
io.flutter.app.FlutterApplication is an android.app.Application that io.flutter.app.FlutterApplication is an android.app.Application that
calls FlutterMain.startInitialization(this); in its onCreate method. calls FlutterMain.startInitialization(this); in its onCreate method.
@ -119,7 +119,7 @@
android:usesCleartextTraffic="true" android:usesCleartextTraffic="true"
tools:replace="android:extractNativeLibs,android:label"> tools:replace="android:extractNativeLibs,android:label">
<activity <activity
android:name="com.cloud.diplomaticquarterapp.whatsapp.WhatsAppCodeActivity" android:name=".whatsapp.WhatsAppCodeActivity"
android:exported="true" android:exported="true"
android:enabled="true" android:enabled="true"
android:launchMode="standard" android:launchMode="standard"

@ -1,5 +1,5 @@
//package com.cloud.diplomaticquarterapp //package com.cloud.diplomaticquarterapp
package com.ejada.hmg package com.redseaglobal.redseahealth
import com.facebook.stetho.Stetho import com.facebook.stetho.Stetho
import io.flutter.app.FlutterApplication import io.flutter.app.FlutterApplication

@ -1,5 +1,5 @@
//package com.cloud.diplomaticquarterapp //package com.cloud.diplomaticquarterapp
package com.ejada.hmg package com.redseaglobal.redseahealth
import io.flutter.plugin.common.PluginRegistry import io.flutter.plugin.common.PluginRegistry
//import io.flutter.plugins.firebasemessaging.FirebaseMessagingPlugin //import io.flutter.plugins.firebasemessaging.FirebaseMessagingPlugin

@ -1,5 +1,4 @@
package com.ejada.hmg package com.redseaglobal.redseahealth
import android.app.PendingIntent
import android.content.Intent import android.content.Intent
import android.content.pm.PackageManager import android.content.pm.PackageManager
import android.os.Build import android.os.Build
@ -7,14 +6,13 @@ import android.util.Log
import android.view.WindowManager import android.view.WindowManager
import androidx.annotation.NonNull; import androidx.annotation.NonNull;
import androidx.annotation.RequiresApi import androidx.annotation.RequiresApi
import com.cloud.diplomaticquarterapp.PenguinInPlatformBridge import com.redseaglobal.redseahealth.PenguinInPlatformBridge
import com.cloud.diplomaticquarterapp.whatsapp.AppSignatureRetriever import com.redseaglobal.redseahealth.whatsapp.AppSignatureRetriever
import com.ejada.hmg.utils.* import com.redseaglobal.redseahealth.utils.*
import io.flutter.embedding.android.FlutterFragmentActivity import io.flutter.embedding.android.FlutterFragmentActivity
import io.flutter.embedding.engine.FlutterEngine import io.flutter.embedding.engine.FlutterEngine
import io.flutter.plugins.GeneratedPluginRegistrant import io.flutter.plugins.GeneratedPluginRegistrant
import com.cloud.diplomaticquarterapp.whatsapp.WhatsApp import com.redseaglobal.redseahealth.whatsapp.WhatsAppOtpPlatformBridge
import com.cloud.diplomaticquarterapp.whatsapp.WhatsAppOtpPlatformBridge
class MainActivity: FlutterFragmentActivity() { class MainActivity: FlutterFragmentActivity() {

@ -1,10 +1,10 @@
package com.cloud.diplomaticquarterapp package com.redseaglobal.redseahealth
import com.ejada.hmg.MainActivity import com.redseaglobal.redseahealth.MainActivity
import android.os.Build import android.os.Build
import android.util.Log import android.util.Log
import androidx.annotation.RequiresApi import androidx.annotation.RequiresApi
import com.cloud.diplomaticquarterapp.penguin.PenguinView import com.redseaglobal.redseahealth.penguin.PenguinView
import io.flutter.embedding.engine.FlutterEngine import io.flutter.embedding.engine.FlutterEngine
import io.flutter.plugin.common.MethodCall import io.flutter.plugin.common.MethodCall
import io.flutter.plugin.common.MethodChannel import io.flutter.plugin.common.MethodChannel

@ -1,4 +1,4 @@
package com.cloud.diplomaticquarterapp.PermissionManager package com.redseaglobal.redseahealth.PermissionManager
import android.Manifest import android.Manifest
import android.os.Build import android.os.Build

@ -1,4 +1,4 @@
package com.cloud.diplomaticquarterapp.PermissionManager package com.redseaglobal.redseahealth.PermissionManager
import android.app.Activity import android.app.Activity
import android.content.Context import android.content.Context

@ -1,4 +1,4 @@
package com.cloud.diplomaticquarterapp.PermissionManager package com.redseaglobal.redseahealth.PermissionManager
// PermissionResultReceiver.kt // PermissionResultReceiver.kt
import android.content.BroadcastReceiver import android.content.BroadcastReceiver

@ -1,4 +1,4 @@
package com.ejada.hmg.geofence package com.redseaglobal.redseahealth.geofence
import com.google.android.gms.location.Geofence import com.google.android.gms.location.Geofence
import com.google.gson.Gson import com.google.gson.Gson

@ -1,4 +1,4 @@
package com.ejada.hmg.geofence package com.redseaglobal.redseahealth.geofence
import android.Manifest import android.Manifest
import android.app.PendingIntent import android.app.PendingIntent
@ -8,9 +8,9 @@ import android.content.SharedPreferences
import android.content.pm.PackageManager import android.content.pm.PackageManager
import android.location.Location import android.location.Location
import androidx.core.content.ContextCompat import androidx.core.content.ContextCompat
import com.ejada.hmg.geofence.intent_receivers.GeofenceBroadcastReceiver import com.redseaglobal.redseahealth.geofence.intent_receivers.GeofenceBroadcastReceiver
import com.ejada.hmg.geofence.intent_receivers.ReregisterGeofenceJobService import com.redseaglobal.redseahealth.geofence.intent_receivers.ReregisterGeofenceJobService
import com.ejada.hmg.utils.* import com.redseaglobal.redseahealth.utils.*
import com.google.android.gms.location.Geofence import com.google.android.gms.location.Geofence
import com.google.android.gms.location.GeofencingClient import com.google.android.gms.location.GeofencingClient
import com.google.android.gms.location.GeofencingRequest import com.google.android.gms.location.GeofencingRequest

@ -1,13 +1,13 @@
package com.ejada.hmg.geofence.intent_receivers package com.redseaglobal.redseahealth.geofence.intent_receivers
import android.annotation.SuppressLint import android.annotation.SuppressLint
import android.content.BroadcastReceiver import android.content.BroadcastReceiver
import android.content.Context import android.content.Context
import android.content.Intent import android.content.Intent
import android.util.Log import android.util.Log
import com.ejada.hmg.geofence.GeofenceTransition import com.redseaglobal.redseahealth.geofence.GeofenceTransition
import com.ejada.hmg.geofence.HMG_Geofence import com.redseaglobal.redseahealth.geofence.HMG_Geofence
import com.ejada.hmg.utils.Logs import com.redseaglobal.redseahealth.utils.Logs
import com.google.android.gms.location.GeofenceStatusCodes import com.google.android.gms.location.GeofenceStatusCodes
import com.google.android.gms.location.GeofencingEvent import com.google.android.gms.location.GeofencingEvent

@ -1,11 +1,11 @@
package com.ejada.hmg.geofence.intent_receivers package com.redseaglobal.redseahealth.geofence.intent_receivers
import android.content.BroadcastReceiver import android.content.BroadcastReceiver
import android.content.Context import android.content.Context
import android.content.Intent import android.content.Intent
import com.ejada.hmg.geofence.HMG_Geofence import com.redseaglobal.redseahealth.geofence.HMG_Geofence
import com.google.android.gms.location.GeofenceStatusCodes import com.google.android.gms.location.GeofenceStatusCodes
class GeofenceBroadcastReceiverWithJobService : BroadcastReceiver() { class GeofenceBroadcastReceiverWithJobService : BroadcastReceiver() {

@ -1,10 +1,10 @@
package com.ejada.hmg.geofence.intent_receivers package com.redseaglobal.redseahealth.geofence.intent_receivers
import android.content.Context import android.content.Context
import com.ejada.hmg.R import com.redseaglobal.redseahealth.R
import com.ejada.hmg.geofence.HMG_Geofence import com.redseaglobal.redseahealth.geofence.HMG_Geofence
import com.google.android.gms.common.api.ApiException import com.google.android.gms.common.api.ApiException
import com.google.android.gms.location.GeofenceStatusCodes import com.google.android.gms.location.GeofenceStatusCodes

@ -29,15 +29,15 @@
*/ */
package com.ejada.hmg.geofence.intent_receivers package com.redseaglobal.redseahealth.geofence.intent_receivers
import android.content.Context import android.content.Context
import android.content.Intent import android.content.Intent
import android.util.Log import android.util.Log
import androidx.core.app.JobIntentService import androidx.core.app.JobIntentService
import com.ejada.hmg.geofence.GeofenceTransition import com.redseaglobal.redseahealth.geofence.GeofenceTransition
import com.ejada.hmg.geofence.HMG_Geofence import com.redseaglobal.redseahealth.geofence.HMG_Geofence
import com.ejada.hmg.utils.saveLog import com.redseaglobal.redseahealth.utils.saveLog
import com.google.android.gms.location.GeofenceStatusCodes import com.google.android.gms.location.GeofenceStatusCodes
import com.google.android.gms.location.GeofencingEvent import com.google.android.gms.location.GeofencingEvent

@ -1,12 +1,12 @@
package com.ejada.hmg.geofence.intent_receivers package com.redseaglobal.redseahealth.geofence.intent_receivers
import android.content.BroadcastReceiver import android.content.BroadcastReceiver
import android.content.Context import android.content.Context
import android.content.Intent import android.content.Intent
import com.ejada.hmg.geofence.HMG_Geofence import com.redseaglobal.redseahealth.geofence.HMG_Geofence
import com.ejada.hmg.utils.PREFS_STORAGE import com.redseaglobal.redseahealth.utils.PREFS_STORAGE
class GeofencingRebootBroadcastReceiver : BroadcastReceiver(){ class GeofencingRebootBroadcastReceiver : BroadcastReceiver(){
override fun onReceive(context: Context, intent: Intent) { override fun onReceive(context: Context, intent: Intent) {

@ -1,14 +1,14 @@
package com.ejada.hmg.geofence.intent_receivers package com.redseaglobal.redseahealth.geofence.intent_receivers
import android.content.BroadcastReceiver import android.content.BroadcastReceiver
import android.content.Context import android.content.Context
import android.content.Intent import android.content.Intent
import android.location.LocationManager import android.location.LocationManager
import com.ejada.hmg.geofence.HMG_Geofence import com.redseaglobal.redseahealth.geofence.HMG_Geofence
import com.ejada.hmg.utils.HMGUtils import com.redseaglobal.redseahealth.utils.HMGUtils
import com.ejada.hmg.utils.PREFS_STORAGE import com.redseaglobal.redseahealth.utils.PREFS_STORAGE
class LocationProviderChangeReceiver : BroadcastReceiver() { class LocationProviderChangeReceiver : BroadcastReceiver() {
private val LOG_TAG = "LocationProviderChangeReceiver" private val LOG_TAG = "LocationProviderChangeReceiver"

@ -1,9 +1,9 @@
package com.ejada.hmg.geofence.intent_receivers package com.redseaglobal.redseahealth.geofence.intent_receivers
import android.app.job.JobParameters import android.app.job.JobParameters
import android.app.job.JobService import android.app.job.JobService
import com.ejada.hmg.geofence.HMG_Geofence import com.redseaglobal.redseahealth.geofence.HMG_Geofence
import com.ejada.hmg.utils.Logs import com.redseaglobal.redseahealth.utils.Logs
class ReregisterGeofenceJobService : JobService(){ class ReregisterGeofenceJobService : JobService(){
companion object{ companion object{

@ -1,4 +1,4 @@
package com.ejada.hmg.hmgwifi package com.redseaglobal.redseahealth.hmgwifi
import android.annotation.SuppressLint import android.annotation.SuppressLint
import android.content.Context import android.content.Context
@ -10,8 +10,8 @@ import android.os.PatternMatcher
import android.provider.Settings import android.provider.Settings
import android.util.Log import android.util.Log
import androidx.annotation.RequiresApi import androidx.annotation.RequiresApi
import com.ejada.hmg.MainActivity import com.redseaglobal.redseahealth.MainActivity
import com.ejada.hmg.utils.HMGUtils import com.redseaglobal.redseahealth.utils.HMGUtils

@ -1,8 +1,8 @@
package com.ejada.hmg.hmgwifi package com.redseaglobal.redseahealth.hmgwifi
import android.annotation.SuppressLint import android.annotation.SuppressLint
import com.ejada.hmg.utils.API import com.redseaglobal.redseahealth.utils.API
import com.ejada.hmg.MainActivity import com.redseaglobal.redseahealth.MainActivity
import com.github.kittinunf.fuel.core.extensions.jsonBody import com.github.kittinunf.fuel.core.extensions.jsonBody
import com.github.kittinunf.fuel.httpGet import com.github.kittinunf.fuel.httpGet
import com.github.kittinunf.fuel.httpPost import com.github.kittinunf.fuel.httpPost

@ -1,4 +1,4 @@
package com.ejada.hmg.hmgwifi package com.redseaglobal.redseahealth.hmgwifi
import android.annotation.SuppressLint import android.annotation.SuppressLint
import android.content.Context import android.content.Context
@ -7,8 +7,8 @@ import android.net.wifi.*
import android.net.wifi.SupplicantState.ASSOCIATED import android.net.wifi.SupplicantState.ASSOCIATED
import android.net.wifi.SupplicantState.COMPLETED import android.net.wifi.SupplicantState.COMPLETED
import android.util.Log import android.util.Log
import com.ejada.hmg.MainActivity import com.redseaglobal.redseahealth.MainActivity
import com.ejada.hmg.utils.HMGUtils import com.redseaglobal.redseahealth.utils.HMGUtils
class WPA(mainActivity: MainActivity, SSID:String) { class WPA(mainActivity: MainActivity, SSID:String) {
private var TAG = "WPA" private var TAG = "WPA"

@ -1,4 +1,4 @@
package com.ejada.hmg.hmgwifi package com.redseaglobal.redseahealth.hmgwifi
import android.annotation.SuppressLint import android.annotation.SuppressLint
import android.content.Context import android.content.Context
@ -12,8 +12,8 @@ import android.net.wifi.SupplicantState.COMPLETED
import android.os.Build import android.os.Build
import android.util.Log import android.util.Log
import androidx.annotation.RequiresApi import androidx.annotation.RequiresApi
import com.ejada.hmg.MainActivity import com.redseaglobal.redseahealth.MainActivity
import com.ejada.hmg.utils.HMGUtils import com.redseaglobal.redseahealth.utils.HMGUtils
import java.security.cert.X509Certificate import java.security.cert.X509Certificate
class WpaEnterprise(private val mainActivity: MainActivity, private var SSID: String) { class WpaEnterprise(private val mainActivity: MainActivity, private var SSID: String) {

@ -1,4 +1,4 @@
package com.ejada.hmg.opentok package com.redseaglobal.redseahealth.opentok
import android.content.Context import android.content.Context
import android.util.AttributeSet import android.util.AttributeSet
@ -6,7 +6,7 @@ import android.view.LayoutInflater
import android.view.View import android.view.View
import android.widget.FrameLayout import android.widget.FrameLayout
import android.widget.LinearLayout import android.widget.LinearLayout
import com.ejada.hmg.R import com.redseaglobal.redseahealth.R
import io.flutter.plugin.common.StandardMessageCodec import io.flutter.plugin.common.StandardMessageCodec
import io.flutter.plugin.platform.PlatformView import io.flutter.plugin.platform.PlatformView
import io.flutter.plugin.platform.PlatformViewFactory import io.flutter.plugin.platform.PlatformViewFactory

@ -1,4 +1,4 @@
package com.ejada.hmg.opentok package com.redseaglobal.redseahealth.opentok
import android.content.Context import android.content.Context
import android.os.Handler import android.os.Handler

@ -1,4 +1,4 @@
package com.ejada.hmg.opentok package com.redseaglobal.redseahealth.opentok
import android.content.Context import android.content.Context
import android.util.AttributeSet import android.util.AttributeSet
@ -6,7 +6,7 @@ import android.view.LayoutInflater
import android.view.View import android.view.View
import android.widget.FrameLayout import android.widget.FrameLayout
import android.widget.LinearLayout import android.widget.LinearLayout
import com.ejada.hmg.R import com.redseaglobal.redseahealth.R
import io.flutter.plugin.common.StandardMessageCodec import io.flutter.plugin.common.StandardMessageCodec
import io.flutter.plugin.platform.PlatformView import io.flutter.plugin.platform.PlatformView
import io.flutter.plugin.platform.PlatformViewFactory import io.flutter.plugin.platform.PlatformViewFactory

@ -1,4 +1,4 @@
package com.cloud.diplomaticquarterapp.penguin package com.redseaglobal.redseahealth.penguin
enum class PenguinMethod { enum class PenguinMethod {
// initializePenguin("initializePenguin"), // initializePenguin("initializePenguin"),

@ -1,4 +1,4 @@
package com.cloud.diplomaticquarterapp.penguin package com.redseaglobal.redseahealth.penguin
import android.content.Context import android.content.Context
import com.google.gson.Gson import com.google.gson.Gson

@ -1,4 +1,4 @@
package com.cloud.diplomaticquarterapp.penguin package com.redseaglobal.redseahealth.penguin
import android.app.Activity import android.app.Activity
import android.content.Context import android.content.Context
@ -12,10 +12,10 @@ import android.view.ViewGroup
import android.widget.RelativeLayout import android.widget.RelativeLayout
import android.widget.Toast import android.widget.Toast
import androidx.annotation.RequiresApi import androidx.annotation.RequiresApi
import com.cloud.diplomaticquarterapp.PermissionManager.PermissionHelper import com.redseaglobal.redseahealth.PermissionManager.PermissionHelper
import com.cloud.diplomaticquarterapp.PermissionManager.PermissionManager import com.redseaglobal.redseahealth.PermissionManager.PermissionManager
import com.cloud.diplomaticquarterapp.PermissionManager.PermissionResultReceiver import com.redseaglobal.redseahealth.PermissionManager.PermissionResultReceiver
import com.ejada.hmg.MainActivity import com.redseaglobal.redseahealth.MainActivity
import com.peng.pennavmap.PlugAndPlayConfiguration import com.peng.pennavmap.PlugAndPlayConfiguration
import com.peng.pennavmap.PlugAndPlaySDK import com.peng.pennavmap.PlugAndPlaySDK
import com.peng.pennavmap.enums.InitializationErrorType import com.peng.pennavmap.enums.InitializationErrorType
@ -25,11 +25,8 @@ import io.flutter.plugin.common.BinaryMessenger
import io.flutter.plugin.common.MethodCall import io.flutter.plugin.common.MethodCall
import io.flutter.plugin.common.MethodChannel import io.flutter.plugin.common.MethodChannel
import io.flutter.plugin.platform.PlatformView import io.flutter.plugin.platform.PlatformView
import com.cloud.diplomaticquarterapp.penguin.PenguinNavigator
import com.peng.pennavmap.interfaces.PIEventsDelegate
import com.peng.pennavmap.interfaces.PILocationDelegate
import com.peng.pennavmap.interfaces.RefIdDelegate import com.peng.pennavmap.interfaces.RefIdDelegate
import com.peng.pennavmap.models.PIReportIssue
/** /**
* Custom PlatformView for displaying Penguin UI components within a Flutter app. * Custom PlatformView for displaying Penguin UI components within a Flutter app.
* Implements `PlatformView` for rendering the view, `MethodChannel.MethodCallHandler` for handling method calls, * Implements `PlatformView` for rendering the view, `MethodChannel.MethodCallHandler` for handling method calls,

@ -1,4 +1,4 @@
package com.ejada.hmg.utils package com.redseaglobal.redseahealth.utils
class API { class API {
companion object{ companion object{

@ -1,4 +1,4 @@
package com.ejada.hmg.utils package com.redseaglobal.redseahealth.utils
const val PREFS_STORAGE = "FlutterSharedPreferences" const val PREFS_STORAGE = "FlutterSharedPreferences"

@ -1,4 +1,4 @@
package com.ejada.hmg.utils package com.redseaglobal.redseahealth.utils
import io.flutter.plugin.common.MethodChannel import io.flutter.plugin.common.MethodChannel
import io.flutter.plugin.common.MethodChannel.Result import io.flutter.plugin.common.MethodChannel.Result

@ -1,4 +1,4 @@
package com.ejada.hmg.utils package com.redseaglobal.redseahealth.utils
import android.app.NotificationChannel import android.app.NotificationChannel
import android.app.NotificationManager import android.app.NotificationManager
@ -13,10 +13,10 @@ import android.widget.Toast
import androidx.annotation.Nullable import androidx.annotation.Nullable
import androidx.core.app.NotificationCompat import androidx.core.app.NotificationCompat
import androidx.core.app.TaskStackBuilder import androidx.core.app.TaskStackBuilder
import com.ejada.hmg.BuildConfig import com.redseaglobal.redseahealth.BuildConfig
import com.ejada.hmg.MainActivity import com.redseaglobal.redseahealth.MainActivity
import com.ejada.hmg.R import com.redseaglobal.redseahealth.R
import com.ejada.hmg.geofence.GeoZoneModel import com.redseaglobal.redseahealth.geofence.GeoZoneModel
import com.github.kittinunf.fuel.core.extensions.jsonBody import com.github.kittinunf.fuel.core.extensions.jsonBody
import com.github.kittinunf.fuel.httpPost import com.github.kittinunf.fuel.httpPost
import com.google.gson.Gson import com.google.gson.Gson

@ -1,4 +1,4 @@
//package com.ejada.hmg.utils //package com.redseaglobal.redseahealth.utils
// //
//import android.annotation.SuppressLint //import android.annotation.SuppressLint
//import android.content.Context //import android.content.Context
@ -10,8 +10,8 @@
//import android.net.wifi.WifiConfiguration //import android.net.wifi.WifiConfiguration
//import android.net.wifi.WifiManager //import android.net.wifi.WifiManager
//import android.util.Log //import android.util.Log
//import com.ejada.hmg.utils.API //import com.redseaglobal.redseahealth.utils.API
//import com.ejada.hmg.FlutterMainActivity //import com.redseaglobal.redseahealth.FlutterMainActivity
//import com.github.kittinunf.fuel.core.extensions.jsonBody //import com.github.kittinunf.fuel.core.extensions.jsonBody
//import com.github.kittinunf.fuel.httpGet //import com.github.kittinunf.fuel.httpGet
//import com.github.kittinunf.fuel.httpPost //import com.github.kittinunf.fuel.httpPost

@ -1,9 +1,9 @@
package com.ejada.hmg.utils package com.redseaglobal.redseahealth.utils
import android.content.Context import android.content.Context
import android.content.SharedPreferences import android.content.SharedPreferences
import android.os.Build import android.os.Build
import com.ejada.hmg.BuildConfig import com.redseaglobal.redseahealth.BuildConfig
import com.google.gson.Gson import com.google.gson.Gson
class Logs { class Logs {

@ -1,7 +1,7 @@
package com.ejada.hmg.utils package com.redseaglobal.redseahealth.utils
import com.ejada.hmg.MainActivity import com.redseaglobal.redseahealth.MainActivity
import com.ejada.hmg.opentok.OpenTok import com.redseaglobal.redseahealth.opentok.OpenTok
import io.flutter.embedding.engine.FlutterEngine import io.flutter.embedding.engine.FlutterEngine
import io.flutter.plugin.common.MethodCall import io.flutter.plugin.common.MethodCall
import io.flutter.plugin.common.MethodChannel import io.flutter.plugin.common.MethodChannel

@ -1,4 +1,4 @@
package com.ejada.hmg.utils package com.redseaglobal.redseahealth.utils
import android.content.Context import android.content.Context
import android.content.Intent import android.content.Intent
@ -11,11 +11,11 @@ import android.widget.Toast
import androidx.core.app.ActivityCompat.startActivityForResult import androidx.core.app.ActivityCompat.startActivityForResult
import android.net.wifi.WifiManager import android.net.wifi.WifiManager
import android.util.Log import android.util.Log
import com.ejada.hmg.MainActivity import com.redseaglobal.redseahealth.MainActivity
import com.ejada.hmg.hmgwifi.HMG_Guest import com.redseaglobal.redseahealth.hmgwifi.HMG_Guest
import com.ejada.hmg.geofence.GeoZoneModel import com.redseaglobal.redseahealth.geofence.GeoZoneModel
import com.ejada.hmg.geofence.HMG_Geofence import com.redseaglobal.redseahealth.geofence.HMG_Geofence
import com.ejada.hmg.hmgwifi.WpaEnterprise import com.redseaglobal.redseahealth.hmgwifi.WpaEnterprise
import io.flutter.embedding.engine.FlutterEngine import io.flutter.embedding.engine.FlutterEngine
import io.flutter.plugin.common.MethodCall import io.flutter.plugin.common.MethodCall
import io.flutter.plugin.common.MethodChannel import io.flutter.plugin.common.MethodChannel

@ -5,12 +5,11 @@
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.
*/ */
package com.cloud.diplomaticquarterapp.whatsapp; package com.redseaglobal.redseahealth.whatsapp;
import static java.sql.DriverManager.println; import static java.sql.DriverManager.println;
import android.content.Context; import android.content.Context;
import android.content.ContextWrapper;
import android.content.pm.PackageManager; import android.content.pm.PackageManager;
import android.content.pm.Signature; import android.content.pm.Signature;
import android.util.Base64; import android.util.Base64;

@ -1,5 +1,5 @@
package com.cloud.diplomaticquarterapp.whatsapp package com.redseaglobal.redseahealth.whatsapp
import android.content.Context import android.content.Context
import android.content.Intent import android.content.Intent

@ -1,9 +1,5 @@
package com.cloud.diplomaticquarterapp.whatsapp package com.redseaglobal.redseahealth.whatsapp
import android.app.PendingIntent
import android.content.Intent
import android.os.Bundle import android.os.Bundle
import com.cloud.diplomaticquarterapp.whatsapp.WhatsApp
import com.cloud.diplomaticquarterapp.whatsapp.WhatsAppOtpPlatformBridge
import io.flutter.embedding.android.FlutterFragmentActivity import io.flutter.embedding.android.FlutterFragmentActivity
class WhatsAppCodeActivity : FlutterFragmentActivity() { class WhatsAppCodeActivity : FlutterFragmentActivity() {

@ -1,6 +1,6 @@
package com.cloud.diplomaticquarterapp.whatsapp package com.redseaglobal.redseahealth.whatsapp
import com.ejada.hmg.MainActivity import com.redseaglobal.redseahealth.MainActivity
import io.flutter.embedding.engine.FlutterEngine import io.flutter.embedding.engine.FlutterEngine
import io.flutter.plugin.common.MethodCall import io.flutter.plugin.common.MethodCall
import io.flutter.plugin.common.MethodChannel import io.flutter.plugin.common.MethodChannel

@ -5,6 +5,6 @@
android:id="@+id/main" android:id="@+id/main"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
tools:context="com.cloud.diplomaticquarterapp.whatsapp.WhatsAppCodeActivity"> tools:context="com.redseaglobal.redseahealth.whatsapp.WhatsAppCodeActivity">
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>

@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.ejada.hmg"> package="com.redseaglobal.redseahealth">
<!-- Flutter needs it to communicate with the running application <!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc. to allow setting breakpoints, to provide hot reload, etc.
--> -->

@ -10,7 +10,7 @@
"client_info": { "client_info": {
"mobilesdk_app_id": "1:815750722565:android:62281cd3e5df4063", "mobilesdk_app_id": "1:815750722565:android:62281cd3e5df4063",
"android_client_info": { "android_client_info": {
"package_name": "com.ejada.hmg" "package_name": "com.redseaglobal.redseahealth"
} }
}, },
"oauth_client": [ "oauth_client": [

@ -354,10 +354,14 @@
inputFileListPaths = ( inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
); );
inputPaths = (
);
name = "[CP] Embed Pods Frameworks"; name = "[CP] Embed Pods Frameworks";
outputFileListPaths = ( outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
); );
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh; shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
@ -387,10 +391,14 @@
inputFileListPaths = ( inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist", "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist",
); );
inputPaths = (
);
name = "[CP] Copy Pods Resources"; name = "[CP] Copy Pods Resources";
outputFileListPaths = ( outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist", "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist",
); );
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh; shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n"; shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
@ -577,7 +585,7 @@
"$(PROJECT_DIR)/Flutter", "$(PROJECT_DIR)/Flutter",
); );
MARKETING_VERSION = 4.6.004; MARKETING_VERSION = 4.6.004;
PRODUCT_BUNDLE_IDENTIFIER = "com.HMG.HMG-Smartphone"; PRODUCT_BUNDLE_IDENTIFIER = com.redseaglobal.redseahealth;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = ""; PROVISIONING_PROFILE_SPECIFIER = "";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
@ -729,7 +737,7 @@
"$(PROJECT_DIR)/Flutter", "$(PROJECT_DIR)/Flutter",
); );
MARKETING_VERSION = 4.6.004; MARKETING_VERSION = 4.6.004;
PRODUCT_BUNDLE_IDENTIFIER = "com.HMG.HMG-Smartphone"; PRODUCT_BUNDLE_IDENTIFIER = com.redseaglobal.redseahealth;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = ""; PROVISIONING_PROFILE_SPECIFIER = "";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
@ -773,7 +781,7 @@
"$(PROJECT_DIR)/Flutter", "$(PROJECT_DIR)/Flutter",
); );
MARKETING_VERSION = 4.6.004; MARKETING_VERSION = 4.6.004;
PRODUCT_BUNDLE_IDENTIFIER = "com.HMG.HMG-Smartphone"; PRODUCT_BUNDLE_IDENTIFIER = com.redseaglobal.redseahealth;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = ""; PROVISIONING_PROFILE_SPECIFIER = "";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";

@ -30,6 +30,8 @@
<true/> <true/>
<key>FIVKSupportVideo</key> <key>FIVKSupportVideo</key>
<true/> <true/>
<key>FlutterDeepLinkingEnabled</key>
<false/>
<key>LSApplicationQueriesSchemes</key> <key>LSApplicationQueriesSchemes</key>
<array> <array>
<string>comgooglemaps</string> <string>comgooglemaps</string>
@ -38,6 +40,8 @@
</array> </array>
<key>LSRequiresIPhoneOS</key> <key>LSRequiresIPhoneOS</key>
<true/> <true/>
<key>MBXAccessToken</key>
<string>pk.eyJ1IjoicndhaWQiLCJhIjoiY2x5cGo4aHNjMGNsbTJyc2djempobGQxaSJ9.RCaC6WrUt4A4YnZNfxnONQ</string>
<key>MinimumOSVersion</key> <key>MinimumOSVersion</key>
<string>13.0</string> <string>13.0</string>
<key>NFCReaderUsageDescription</key> <key>NFCReaderUsageDescription</key>
@ -57,12 +61,12 @@
<string>This App requires access to Bluetooth to connect blood pressure &amp; blood sugar devices with the app to analyze the data.</string> <string>This App requires access to Bluetooth to connect blood pressure &amp; blood sugar devices with the app to analyze the data.</string>
<key>NSBluetoothPeripheralUsageDescription</key> <key>NSBluetoothPeripheralUsageDescription</key>
<string>This App requires access to Bluetooth to connect blood pressure &amp; blood sugar devices with the app to analyze the data.</string> <string>This App requires access to Bluetooth to connect blood pressure &amp; blood sugar devices with the app to analyze the data.</string>
<key>NSCalendarsFullAccessUsageDescription</key>
<string>This app requires calendar access to set reminders for Virtual &amp; Normal Appointments.</string>
<key>NSCalendarsUsageDescription</key> <key>NSCalendarsUsageDescription</key>
<string>This app requires calendar access to set reminders for Virtual &amp; Normal Appointments.</string> <string>This app requires calendar access to set reminders for Virtual &amp; Normal Appointments.</string>
<key>NSCalendarsWriteOnlyAccessUsageDescription</key> <key>NSCalendarsWriteOnlyAccessUsageDescription</key>
<string>This app requires calendar access to set reminders for Virtual &amp; Normal Appointments.</string> <string>This app requires calendar access to set reminders for Virtual &amp; Normal Appointments.</string>
<key>NSCalendarsFullAccessUsageDescription</key>
<string>This app requires calendar access to set reminders for Virtual &amp; Normal Appointments.</string>
<key>NSCameraUsageDescription</key> <key>NSCameraUsageDescription</key>
<string>This app requires camera access to enable virtual consultation between patient &amp; doctor</string> <string>This app requires camera access to enable virtual consultation between patient &amp; doctor</string>
<key>NSContactsUsageDescription</key> <key>NSContactsUsageDescription</key>
@ -91,6 +95,8 @@
<string>This app requires speech recognition access to access voice command features.</string> <string>This app requires speech recognition access to access voice command features.</string>
<key>NSUserActivityTypes</key> <key>NSUserActivityTypes</key>
<array/> <array/>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>UIBackgroundModes</key> <key>UIBackgroundModes</key>
<array> <array>
<string>audio</string> <string>audio</string>
@ -118,11 +124,5 @@
<false/> <false/>
<key>io.flutter.embedded_views_preview</key> <key>io.flutter.embedded_views_preview</key>
<true/> <true/>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>MBXAccessToken</key>
<string>pk.eyJ1IjoicndhaWQiLCJhIjoiY2x5cGo4aHNjMGNsbTJyc2djempobGQxaSJ9.RCaC6WrUt4A4YnZNfxnONQ</string>
<key>FlutterDeepLinkingEnabled</key>
<false/>
</dict> </dict>
</plist> </plist>

@ -280,7 +280,7 @@ const Map localizedValues = {
"OnlinePaymentService": {"en": "Online Payment Service", 'ar': 'خدمة الدفع الإلكتروني'}, "OnlinePaymentService": {"en": "Online Payment Service", 'ar': 'خدمة الدفع الإلكتروني'},
"OffersAndPackages": {"en": "Online transfer request", 'ar': 'طلب التحويل الالكتروني'}, "OffersAndPackages": {"en": "Online transfer request", 'ar': 'طلب التحويل الالكتروني'},
"ComprehensiveMedicalCheckup": {"en": "Comprehensive Medical Check-up", 'ar': 'فحص طبي شامل'}, "ComprehensiveMedicalCheckup": {"en": "Comprehensive Medical Check-up", 'ar': 'فحص طبي شامل'},
"HMGService": {"en": "HMG Service", 'ar': 'الخدمات الإلكترونية'}, "HMGService": {"en": "RSG Service", 'ar': 'خدمات البحر الأحمر الدولية'},
"ViewAllHabibMedicalService": {"en": "View All Habib Medical Service", 'ar': 'عرض خدمات الحبيب الطبية'}, "ViewAllHabibMedicalService": {"en": "View All Habib Medical Service", 'ar': 'عرض خدمات الحبيب الطبية'},
"viewAll": {"en": "View All", 'ar': 'عرض الكل'}, "viewAll": {"en": "View All", 'ar': 'عرض الكل'},
"view": {"en": "View", 'ar': 'عرض'}, "view": {"en": "View", 'ar': 'عرض'},
@ -305,7 +305,7 @@ const Map localizedValues = {
"user-view-requester": {"en": "User Wants to View Your Medical File", "ar": "أشخاص يرغبون في الاطلاع على ملفك الطبي"}, "user-view-requester": {"en": "User Wants to View Your Medical File", "ar": "أشخاص يرغبون في الاطلاع على ملفك الطبي"},
"user-view": {"en": "User Can View Your Medical File", "ar": "أشخاص مصرح لهم الاطلاع على ملفك الطبي"}, "user-view": {"en": "User Can View Your Medical File", "ar": "أشخاص مصرح لهم الاطلاع على ملفك الطبي"},
"parking": {"en": "Parking", "ar": "مواقف"}, "parking": {"en": "Parking", "ar": "مواقف"},
"alhabiServices": {"en": "HMG Service", "ar": "خدمات الحبيب"}, "alhabiServices": {"en": "RSG Service", "ar": "خدمات البحر الأحمر الدولية"},
"parkingTitle": { "parkingTitle": {
"en": "en":
"Car service, car service, service to save parking information, return to it later, 1- By clicking on (Read the code), save the parking data. 2- By clicking on the button (view my car park), it shows you the cars location in Google Maps. 3- Read another position by pressing the Clear Position Data button.", "Car service, car service, service to save parking information, return to it later, 1- By clicking on (Read the code), save the parking data. 2- By clicking on the button (view my car park), it shows you the cars location in Google Maps. 3- Read another position by pressing the Clear Position Data button.",
@ -826,7 +826,7 @@ const Map localizedValues = {
"Feedback": {"en": "Feedback", "ar": "رأيك يهمنا"}, "Feedback": {"en": "Feedback", "ar": "رأيك يهمنا"},
"LiveChat": {"en": "Live Chat", "ar": "محادثة مباشرة"}, "LiveChat": {"en": "Live Chat", "ar": "محادثة مباشرة"},
"Service": {"en": "Service", "ar": "خدمة"}, "Service": {"en": "Service", "ar": "خدمة"},
"HMGServiceLabel": {"en": "HMG Service", 'ar': 'خدمات الحبيب'}, "HMGServiceLabel": {"en": "RSG Service", 'ar': 'خدمات البحر الأحمر الدولية'},
"HealthWeatherIndicators": {"en": "Health Weather Indicators", 'ar': ' مؤشرات الطقس الصحية '}, "HealthWeatherIndicators": {"en": "Health Weather Indicators", 'ar': ' مؤشرات الطقس الصحية '},
"HealthTipsBasedOnCurrentWeather": {"en": "Health Tips Based On Current Weather", 'ar': ' نصائح صحية بناءاً على الطقس الحالي '}, "HealthTipsBasedOnCurrentWeather": {"en": "Health Tips Based On Current Weather", 'ar': ' نصائح صحية بناءاً على الطقس الحالي '},
"MoreDetails": {"en": "More details", "ar": " المزيد من التفاصيل "}, "MoreDetails": {"en": "More details", "ar": " المزيد من التفاصيل "},
@ -894,7 +894,7 @@ const Map localizedValues = {
"en": "Dear customer there is no internet access, do you want to connect with HMG network to use our app, make sure you are in range of HMG network", "en": "Dear customer there is no internet access, do you want to connect with HMG network to use our app, make sure you are in range of HMG network",
"ar": "عزيز العميل لا يوجد اتصال بالإنترنت, هل تريد الاتصال بشبكة مستشفى د. سليمان الحبيب لاستخدام التطبيق. يجب عليك ان تكون في نطاق شبكة المستشفى" "ar": "عزيز العميل لا يوجد اتصال بالإنترنت, هل تريد الاتصال بشبكة مستشفى د. سليمان الحبيب لاستخدام التطبيق. يجب عليك ان تكون في نطاق شبكة المستشفى"
}, },
"failedToAccessHmgServices": {"en": "Connected with HMG Network,\n\nBut failed to access HMG services", "ar": "Connected with HMG Network,\n\nBut failed to access HMG services"}, "failedToAccessHmgServices": {"en": "Connected with HMG Network,\n\nBut failed to access RSG services", "ar": "Connected with RSG Network,\n\nBut failed to access RSG services"},
"offerAndPackages": {"en": "Offers and Packages", "ar": "العروض والباقات"}, "offerAndPackages": {"en": "Offers and Packages", "ar": "العروض والباقات"},
"offerAndPackagesDetails": {"en": "This service allows you to view all HMG Offers:", "ar": "This service allows you to view all HMG Offers:"}, "offerAndPackagesDetails": {"en": "This service allows you to view all HMG Offers:", "ar": "This service allows you to view all HMG Offers:"},
"InvoiceNo": {"en": "Invoice No", "ar": "رقم الفاتورة"}, "InvoiceNo": {"en": "Invoice No", "ar": "رقم الفاتورة"},

Loading…
Cancel
Save