Compare commits

...

2 Commits

Author SHA1 Message Date
taha.alam abf5dd4ef7 penguin loader changed. 1 year ago
taha.alam 95bc097e55 WD: penguin navigation library updated. 1 year ago

@ -211,5 +211,7 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'com.google.android.material:material:1.9.0'
androidTestImplementation "androidx.test:core:1.4.0"
implementation 'com.airbnb.android:lottie:5.2.0'
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.22'
}

Binary file not shown.

Binary file not shown.

@ -207,13 +207,6 @@ internal class PenguinView(
.build()
// Set location delegate to handle location updates
PlugAndPlaySDK.setPiLocationDelegate {
// Example code to handle location updates
// Uncomment and modify as needed
// if (location.size() > 0)
// Toast.makeText(_context, "Location Info Latitude: ${location[0]}, Longitude: ${location[1]}", Toast.LENGTH_SHORT).show()
}
// Set events delegate for reporting issues
PlugAndPlaySDK.setPiEventsDelegate { }

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

@ -0,0 +1,21 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/transparent">
<pl.droidsonroids.gif.GifImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/progress_loading_red"
/>
<TextView
android:id="@+id/txtMsgDialog"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone"
android:layout_centerHorizontal="true"
android:layout_marginTop="@dimen/com_penguin_nav_ui_16dp"
android:textColor="@color/com_penguin_nav_ui_black" />
</RelativeLayout>

@ -12,6 +12,7 @@ buildscript {
repositories {
google()
jcenter()
mavenCentral()
maven { url 'https://developer.huawei.com/repo/' }
maven {
url 'https://api.mapbox.com/downloads/v2/releases/maven'

@ -27,7 +27,7 @@ class PenguinMethodChannel {
"clientKey": "UGVuZ3VpbklOX1Blbk5hdl9QSUY=",
"mapBoxKey": "sk.eyJ1IjoicndhaWQiLCJhIjoiY2x6NWo0bTMzMWZodzJrcGZpemYzc3Z4dSJ9.uSSZuwNSGCcCdPAiORECmg",
// "clinicID": details?.clinicId ?? "",
"clinicID": details?.clinicId ?? "", // 46 ,49, 133
"clinicID": details?.clinicId ?? "", // 46 ,49, 133, 21, 7
"patientID": details?.patientId ?? "",
"projectID": details?.projectId ?? "",
});

Loading…
Cancel
Save