app bundle id and package refactor

ipd-changes-for-vida-plus
tahaalam 3 weeks ago
parent 953df4dcd6
commit 18874ad7b0

@ -29,7 +29,7 @@ if (flutterVersionName == null) {
//apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" //apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android { android {
namespace "com.hmg.hmgDr" namespace "com.redseaglobal.redseahealth_doctor"
compileSdkVersion 35 compileSdkVersion 35
signingConfigs { signingConfigs {
@ -51,7 +51,7 @@ android {
defaultConfig { defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.hmg.hmgDr" applicationId "com.redseaglobal.redseahealth_doctor"
minSdkVersion 24 minSdkVersion 24
targetSdkVersion 35 targetSdkVersion 35
versionCode flutterVersionCode.toInteger() versionCode flutterVersionCode.toInteger()

@ -9,7 +9,7 @@
"client_info": { "client_info": {
"mobilesdk_app_id": "1:934365232760:android:024b3569972f1c09f9778d", "mobilesdk_app_id": "1:934365232760:android:024b3569972f1c09f9778d",
"android_client_info": { "android_client_info": {
"package_name": "COM.HMG.HMGDR" "package_name": "com.redseaglobal.redseahealth_doctor"
} }
}, },
"oauth_client": [ "oauth_client": [

@ -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.hmg.hmgDr"> package="com.redseaglobal.redseahealth_doctor">
<!-- <!--
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.
@ -47,7 +47,7 @@
tools:replace="android:name" tools:replace="android:name"
android:label="HMG Doctor"> android:label="HMG Doctor">
<activity <activity
android:name=".MainActivity" android:name="com.redseaglobal.redseahealth_doctor.MainActivity"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true" android:hardwareAccelerated="true"
android:exported="true" android:exported="true"
@ -76,11 +76,11 @@
<activity <activity
android:name="com.hmg.hmgDr.globalErrorHandler.UCEDefaultActivity" android:name="com.redseaglobal.redseahealth_doctor.globalErrorHandler.UCEDefaultActivity"
android:process=":error_activity" /> android:process=":error_activity" />
<provider <provider
android:name="com.hmg.hmgDr.globalErrorHandler.UCEFileProvider" android:name="com.redseaglobal.redseahealth_doctor.globalErrorHandler.UCEFileProvider"
android:authorities="${applicationId}.provider" android:authorities="${applicationId}.provider"
android:exported="false" android:exported="false"
android:grantUriPermissions="true"> android:grantUriPermissions="true">

@ -1,6 +1,5 @@
package com.hmg.hmgDr package com.redseaglobal.redseahealth_doctor
import com.hmg.hmgDr.globalErrorHandler.LoggingExceptionHandler
import io.flutter.app.FlutterApplication import io.flutter.app.FlutterApplication
class AppApplication : FlutterApplication() { class AppApplication : FlutterApplication() {

@ -1,12 +1,10 @@
package com.hmg.hmgDr package com.redseaglobal.redseahealth_doctor
import android.Manifest
import android.app.Activity import android.app.Activity
import android.content.ComponentName import android.content.ComponentName
import android.content.Context import android.content.Context
import android.content.Intent import android.content.Intent
import android.content.ServiceConnection import android.content.ServiceConnection
import android.content.pm.PackageManager
import android.net.Uri import android.net.Uri
import android.os.Build import android.os.Build
import android.os.Bundle import android.os.Bundle
@ -16,10 +14,10 @@ import android.util.Log
import android.widget.Toast import android.widget.Toast
import androidx.annotation.NonNull import androidx.annotation.NonNull
import com.google.gson.GsonBuilder import com.google.gson.GsonBuilder
import com.hmg.hmgDr.Service.VideoStreamFloatingWidgetService import com.redseaglobal.redseahealth_doctor.Service.VideoStreamFloatingWidgetService
import com.hmg.hmgDr.Model.GetSessionStatusModel import com.redseaglobal.redseahealth_doctor.Model.GetSessionStatusModel
import com.hmg.hmgDr.Model.SessionStatusModel import com.redseaglobal.redseahealth_doctor.Model.SessionStatusModel
import com.hmg.hmgDr.ui.VideoCallResponseListener import com.redseaglobal.redseahealth_doctor.ui.VideoCallResponseListener
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.plugin.common.MethodCall import io.flutter.plugin.common.MethodCall

@ -1,4 +1,4 @@
package com.hmg.hmgDr.Model; package com.redseaglobal.redseahealth_doctor.Model;
import android.os.Parcel; import android.os.Parcel;

@ -1,4 +1,4 @@
package com.hmg.hmgDr.Model; package com.redseaglobal.redseahealth_doctor.Model;
import android.os.Parcel; import android.os.Parcel;
import android.os.Parcelable; import android.os.Parcelable;

@ -1,4 +1,4 @@
package com.hmg.hmgDr.Model package com.redseaglobal.redseahealth_doctor.Model
/** Represents standard data needed for a Notification. */ /** Represents standard data needed for a Notification. */
open class NotificationDataModel( open class NotificationDataModel(

@ -1,4 +1,4 @@
package com.hmg.hmgDr.Model package com.redseaglobal.redseahealth_doctor.Model
import android.app.Notification import android.app.Notification
import android.app.NotificationManager import android.app.NotificationManager

@ -1,4 +1,4 @@
package com.hmg.hmgDr.Model; package com.redseaglobal.redseahealth_doctor.Model;
import android.os.Parcel; import android.os.Parcel;
import android.os.Parcelable; import android.os.Parcelable;

@ -1,4 +1,4 @@
package com.hmg.hmgDr.Service package com.redseaglobal.redseahealth_doctor.Service
import android.annotation.SuppressLint import android.annotation.SuppressLint
import android.app.Service import android.app.Service
@ -10,8 +10,8 @@ import android.os.CountDownTimer
import android.util.Log import android.util.Log
import android.view.* import android.view.*
import androidx.core.view.GestureDetectorCompat import androidx.core.view.GestureDetectorCompat
import com.hmg.hmgDr.R import com.redseaglobal.redseahealth_doctor.R
import com.hmg.hmgDr.util.ViewsUtil import com.redseaglobal.redseahealth_doctor.util.ViewsUtil
abstract class BaseMovingFloatingWidget : Service() { abstract class BaseMovingFloatingWidget : Service() {

@ -1,8 +1,8 @@
package com.hmg.hmgDr.Service; package com.redseaglobal.redseahealth_doctor.Service;
import com.hmg.hmgDr.Model.ChangeCallStatusRequestModel; import com.redseaglobal.redseahealth_doctor.Model.ChangeCallStatusRequestModel;
import com.hmg.hmgDr.Model.GetSessionStatusModel; import com.redseaglobal.redseahealth_doctor.Model.GetSessionStatusModel;
import com.hmg.hmgDr.Model.SessionStatusModel; import com.redseaglobal.redseahealth_doctor.Model.SessionStatusModel;
import retrofit2.Call; import retrofit2.Call;

@ -1,13 +1,13 @@
package com.hmg.hmgDr.Service package com.redseaglobal.redseahealth_doctor.Service
import android.app.Service import android.app.Service
import android.content.Intent import android.content.Intent
import android.os.Binder import android.os.Binder
import android.os.Bundle import android.os.Bundle
import android.os.IBinder import android.os.IBinder
import com.hmg.hmgDr.MainActivity import com.redseaglobal.redseahealth_doctor.MainActivity
import com.hmg.hmgDr.ui.VideoCallResponseListener import com.redseaglobal.redseahealth_doctor.ui.VideoCallResponseListener
import com.hmg.hmgDr.ui.fragment.VideoCallFragment import com.redseaglobal.redseahealth_doctor.ui.fragment.VideoCallFragment
class VideoStreamContainerService : Service(), VideoCallResponseListener { class VideoStreamContainerService : Service(), VideoCallResponseListener {

@ -1,4 +1,4 @@
package com.hmg.hmgDr.Service package com.redseaglobal.redseahealth_doctor.Service
import android.annotation.SuppressLint import android.annotation.SuppressLint
import android.app.* import android.app.*
@ -14,19 +14,19 @@ import androidx.core.app.NotificationCompat
import androidx.core.app.NotificationManagerCompat import androidx.core.app.NotificationManagerCompat
import androidx.core.content.ContextCompat import androidx.core.content.ContextCompat
import androidx.core.view.GestureDetectorCompat import androidx.core.view.GestureDetectorCompat
import com.hmg.hmgDr.Model.ChangeCallStatusRequestModel import com.redseaglobal.redseahealth_doctor.Model.ChangeCallStatusRequestModel
import com.hmg.hmgDr.Model.GetSessionStatusModel import com.redseaglobal.redseahealth_doctor.Model.GetSessionStatusModel
import com.hmg.hmgDr.Model.SessionStatusModel import com.redseaglobal.redseahealth_doctor.Model.SessionStatusModel
import com.hmg.hmgDr.R import com.redseaglobal.redseahealth_doctor.Model.*
import com.hmg.hmgDr.Model.* import com.redseaglobal.redseahealth_doctor.ui.VideoCallContract
import com.hmg.hmgDr.ui.VideoCallContract import com.redseaglobal.redseahealth_doctor.ui.VideoCallPresenterImpl
import com.hmg.hmgDr.ui.VideoCallPresenterImpl import com.redseaglobal.redseahealth_doctor.ui.VideoCallResponseListener
import com.hmg.hmgDr.ui.VideoCallResponseListener import com.redseaglobal.redseahealth_doctor.util.DateUtils
import com.hmg.hmgDr.util.DateUtils import com.redseaglobal.redseahealth_doctor.util.opentok.DynamicVideoRenderer
import com.hmg.hmgDr.util.opentok.DynamicVideoRenderer import com.redseaglobal.redseahealth_doctor.util.NotificationUtil
import com.hmg.hmgDr.util.NotificationUtil import com.redseaglobal.redseahealth_doctor.util.ViewsUtil
import com.hmg.hmgDr.util.ViewsUtil import com.redseaglobal.redseahealth_doctor.util.audio.CustomAudioDevice
import com.hmg.hmgDr.util.audio.CustomAudioDevice import com.redseaglobal.redseahealth_doctor.R
import com.opentok.android.* import com.opentok.android.*
import java.util.* import java.util.*

@ -1,4 +1,4 @@
package com.hmg.hmgDr.globalErrorHandler package com.redseaglobal.redseahealth_doctor.globalErrorHandler
import android.os.Environment import android.os.Environment
import java.io.BufferedWriter import java.io.BufferedWriter

@ -1,9 +1,9 @@
package com.hmg.hmgDr.globalErrorHandler package com.redseaglobal.redseahealth_doctor.globalErrorHandler
import android.content.Context import android.content.Context
import android.content.Intent import android.content.Intent
import com.hmg.hmgDr.MainActivity import com.redseaglobal.redseahealth_doctor.MainActivity
import com.hmg.hmgDr.globalErrorHandler.FileUtil.pushLog import com.redseaglobal.redseahealth_doctor.globalErrorHandler.FileUtil.pushLog
class LoggingExceptionHandler(private val context: Context, ErrorFile: String) : class LoggingExceptionHandler(private val context: Context, ErrorFile: String) :

@ -1,4 +1,4 @@
package com.hmg.hmgDr.globalErrorHandler package com.redseaglobal.redseahealth_doctor.globalErrorHandler
import androidx.appcompat.app.AppCompatActivity import androidx.appcompat.app.AppCompatActivity

@ -1,4 +1,4 @@
package com.hmg.hmgDr.globalErrorHandler package com.redseaglobal.redseahealth_doctor.globalErrorHandler
import androidx.core.content.FileProvider import androidx.core.content.FileProvider

@ -1,4 +1,4 @@
package com.hmg.hmgDr.globalErrorHandler package com.redseaglobal.redseahealth_doctor.globalErrorHandler
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.app.Activity; import android.app.Activity;

@ -1,8 +1,8 @@
package com.hmg.hmgDr.ui; package com.redseaglobal.redseahealth_doctor.ui;
import com.hmg.hmgDr.Model.ChangeCallStatusRequestModel; import com.redseaglobal.redseahealth_doctor.Model.ChangeCallStatusRequestModel;
import com.hmg.hmgDr.Model.GetSessionStatusModel; import com.redseaglobal.redseahealth_doctor.Model.GetSessionStatusModel;
import com.hmg.hmgDr.Model.SessionStatusModel; import com.redseaglobal.redseahealth_doctor.Model.SessionStatusModel;
public interface VideoCallContract { public interface VideoCallContract {

@ -1,10 +1,10 @@
package com.hmg.hmgDr.ui; package com.redseaglobal.redseahealth_doctor.ui;
import com.hmg.hmgDr.Model.ChangeCallStatusRequestModel; import com.redseaglobal.redseahealth_doctor.Model.ChangeCallStatusRequestModel;
import com.hmg.hmgDr.Model.GetSessionStatusModel; import com.redseaglobal.redseahealth_doctor.Model.GetSessionStatusModel;
import com.hmg.hmgDr.Model.SessionStatusModel; import com.redseaglobal.redseahealth_doctor.Model.SessionStatusModel;
//import com.hmg.hmgDr.Service.AppRetrofit; //import com.hmg.hmgDr.Service.AppRetrofit;
import com.hmg.hmgDr.Service.SessionStatusAPI; import com.redseaglobal.redseahealth_doctor.Service.SessionStatusAPI;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;

@ -1,4 +1,4 @@
package com.hmg.hmgDr.ui package com.redseaglobal.redseahealth_doctor.ui
import android.content.Intent import android.content.Intent

@ -1,6 +1,5 @@
package com.hmg.hmgDr.ui.fragment package com.redseaglobal.redseahealth_doctor.ui.fragment
import android.Manifest
import android.annotation.SuppressLint import android.annotation.SuppressLint
import android.app.Activity import android.app.Activity
import android.app.Dialog import android.app.Dialog
@ -20,16 +19,16 @@ import androidx.constraintlayout.widget.ConstraintLayout
import androidx.core.content.ContextCompat import androidx.core.content.ContextCompat
import androidx.core.view.GestureDetectorCompat import androidx.core.view.GestureDetectorCompat
import androidx.fragment.app.DialogFragment import androidx.fragment.app.DialogFragment
import com.hmg.hmgDr.Model.ChangeCallStatusRequestModel import com.redseaglobal.redseahealth_doctor.Model.ChangeCallStatusRequestModel
import com.hmg.hmgDr.Model.GetSessionStatusModel import com.redseaglobal.redseahealth_doctor.Model.GetSessionStatusModel
import com.hmg.hmgDr.Model.SessionStatusModel import com.redseaglobal.redseahealth_doctor.Model.SessionStatusModel
import com.hmg.hmgDr.R import com.redseaglobal.redseahealth_doctor.ui.VideoCallContract.VideoCallPresenter
import com.hmg.hmgDr.ui.VideoCallContract.VideoCallPresenter import com.redseaglobal.redseahealth_doctor.ui.VideoCallContract.VideoCallView
import com.hmg.hmgDr.ui.VideoCallContract.VideoCallView import com.redseaglobal.redseahealth_doctor.ui.VideoCallPresenterImpl
import com.hmg.hmgDr.ui.VideoCallPresenterImpl import com.redseaglobal.redseahealth_doctor.ui.VideoCallResponseListener
import com.hmg.hmgDr.ui.VideoCallResponseListener import com.redseaglobal.redseahealth_doctor.util.opentok.DynamicVideoRenderer
import com.hmg.hmgDr.util.opentok.DynamicVideoRenderer import com.redseaglobal.redseahealth_doctor.util.ViewsUtil
import com.hmg.hmgDr.util.ViewsUtil import com.redseaglobal.redseahealth_doctor.R
import com.opentok.android.* import com.opentok.android.*
import com.opentok.android.PublisherKit.PublisherListener import com.opentok.android.PublisherKit.PublisherListener
//import pub.devrel.easypermissions.AfterPermissionGranted //import pub.devrel.easypermissions.AfterPermissionGranted

@ -1,4 +1,4 @@
package com.hmg.hmgDr.util package com.redseaglobal.redseahealth_doctor.util
import java.text.SimpleDateFormat import java.text.SimpleDateFormat
import java.util.* import java.util.*

@ -1,4 +1,4 @@
package com.hmg.hmgDr.util package com.redseaglobal.redseahealth_doctor.util
import android.app.NotificationChannel import android.app.NotificationChannel
import android.app.NotificationManager import android.app.NotificationManager
@ -7,8 +7,8 @@ import android.content.Intent
import android.graphics.Color import android.graphics.Color
import android.os.Build import android.os.Build
import androidx.core.app.NotificationCompat import androidx.core.app.NotificationCompat
import com.hmg.hmgDr.Model.NotificationDataModel import com.redseaglobal.redseahealth_doctor.Model.NotificationDataModel
import com.hmg.hmgDr.Model.NotificationVideoModel import com.redseaglobal.redseahealth_doctor.Model.NotificationVideoModel
object NotificationUtil { object NotificationUtil {

@ -1,4 +1,4 @@
package com.hmg.hmgDr.util.audio package com.redseaglobal.redseahealth_doctor.util.audio
import android.content.BroadcastReceiver import android.content.BroadcastReceiver
import android.content.Context import android.content.Context

@ -1,4 +1,4 @@
package com.hmg.hmgDr.util.opentok package com.redseaglobal.redseahealth_doctor.util.opentok
import android.content.Context import android.content.Context
import android.content.res.Resources import android.content.res.Resources

@ -1,4 +1,4 @@
package com.hmg.hmgDr.util.opentok package com.redseaglobal.redseahealth_doctor.util.opentok
import android.content.Context import android.content.Context
import android.content.res.Resources import android.content.res.Resources

@ -1,4 +1,4 @@
package com.hmg.hmgDr.util package com.redseaglobal.redseahealth_doctor.util
import android.content.Context import android.content.Context
import android.util.DisplayMetrics import android.util.DisplayMetrics

@ -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.hmg.hmgDr"> package="com.redseaglobal.redseahealth_doctor">
<!-- 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.
--> -->

@ -533,7 +533,7 @@
"$(PROJECT_DIR)/Flutter", "$(PROJECT_DIR)/Flutter",
); );
MARKETING_VERSION = 1.4.19; MARKETING_VERSION = 1.4.19;
PRODUCT_BUNDLE_IDENTIFIER = com.hmg.hmgDr; PRODUCT_BUNDLE_IDENTIFIER = "com.redseaglobal.redseahealth-doctor";
PRODUCT_NAME = Runner; PRODUCT_NAME = Runner;
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos"; SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
@ -679,7 +679,7 @@
"$(PROJECT_DIR)/Flutter", "$(PROJECT_DIR)/Flutter",
); );
MARKETING_VERSION = 1.4.19; MARKETING_VERSION = 1.4.19;
PRODUCT_BUNDLE_IDENTIFIER = com.hmg.hmgDr; PRODUCT_BUNDLE_IDENTIFIER = "com.redseaglobal.redseahealth-doctor";
PRODUCT_NAME = Runner; PRODUCT_NAME = Runner;
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@ -715,7 +715,7 @@
"$(PROJECT_DIR)/Flutter", "$(PROJECT_DIR)/Flutter",
); );
MARKETING_VERSION = 1.4.19; MARKETING_VERSION = 1.4.19;
PRODUCT_BUNDLE_IDENTIFIER = com.hmg.hmgDr; PRODUCT_BUNDLE_IDENTIFIER = "com.redseaglobal.redseahealth-doctor";
PRODUCT_NAME = Runner; PRODUCT_NAME = Runner;
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos"; SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";

Loading…
Cancel
Save