Ornids - Multi Service App With Customer App, Driver App, Merchant App and Admin Panel

startop

Active member
Feb 18, 2019
865
184
43
Merchant type is mandatory and there is no way t add type
can someone help ?
merchant.png
 

mogrosso

Active member
Trusted Uploader
Feb 22, 2021
217
131
43
there is important hint you need to rename pack and should be the same one you create in firebase for example

com.company.driver
so you should rename group under com folder in project to company and the next folder to be the same as driver

hint 2
all applications should be in same firebase project add all apps under 1 project

hint 3
after you add the SHA of the 3 apps download json file and paste into the 3 apps and generate the signed apk

it works for me now
I'm testing the driver for merchant if works
also the rtl and Arabic isn't supported in database
Please were you able to use the driver app? I get this error anytime I am trying to install the app.

1620487897476.png
 

imdmad

New member
May 1, 2020
10
1
3
hi can any one help me to solve this error
Execution failed for task ':app rocessDebugManifest'.
> Manifest merger failed with multiple errors, see logs
Merging Errors: Warning activity#com.google.firebase.auth.internal.FederatedSignInActivity@android:launchMode was tagged at AndroidManifest.xml:24 to replace other declarations but no other declaration present customerapp.app main manifest (this file), line 23
in customerapp
 
Last edited:

startop

Active member
Feb 18, 2019
865
184
43
i got thiserror when openeing custoer app in android studio:
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.mapbox.mapboxsdk:mapbox-android-sdk:9.6.0.

i already put the acces token key in 2 files
strings.xml & graddle.properties

********************** SOLVED *********************
i solved this by adding all scopes to mapbox app
 
Last edited:

startop

Active member
Feb 18, 2019
865
184
43
is it normal ? there is 2 same entries in build.gradle
implementation 'com.facebook.shimmer:shimmer:0.5.0@aar'
line 67 & line 72

Please How to fix this error
error when building the app

....\gmap\activity\AllMerchantGmapActivity.java:300:
error: cannot find symbol shimmerchantnear.stopShimmerAnimation();

symbol: method stopShimmerAnimation()
location: variable shimmerchantnear of type ShimmerFrameLayout
 
Last edited:

startop

Active member
Feb 18, 2019
865
184
43
halo.

how to fix this guys, i follow the step on this forum but not work :(

Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.mapbox.mapboxsdk:mapbox-android-sdk:9.6.0.

Thanks
create one mapbox app with all scopes, it resolved the problem for me
 

techysidok

New member
Apr 24, 2021
12
3
3
Can Someone know how to show the Google Place Name instead of the Google Location Address in Pickup Location and Destination Location?

I already edited it but seems not working. Always shows the Google Map Address instead of the Place Name

private void openAutocompleteActivity(int request_code) {
List<Place.Field> fields = Arrays.asList(Place.Field.NAME, Place.Field.LAT_LNG);
Intent intent = new Autocomplete.IntentBuilder(
AutocompleteActivityMode.FULLSCREEN, fields)
.build(this);
startActivityForResult(intent, request_code);

}

@OverRide
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if (requestCode == 1) {
if (resultCode == RESULT_OK) {
Place place = Autocomplete.getPlaceFromIntent(data);
pickUpText.setText(place.getName());
LatLng latLng = place.getLatLng();
if (latLng != null) {
gMap.moveCamera(CameraUpdateFactory.newLatLngZoom(
new LatLng(latLng.latitude, latLng.longitude), 15f)
);
onPickUp();
}
} else if (resultCode == AutocompleteActivity.RESULT_ERROR) {
Status status = Autocomplete.getStatusFromIntent(data);
Log.i(TAG, Objects.requireNonNull(status.getStatusMessage()));
}
}
if (requestCode == 2) {
if (resultCode == RESULT_OK) {
Place place = Autocomplete.getPlaceFromIntent(data);
destinationText.setText(place.getName());
LatLng latLng = place.getLatLng();
if (latLng != null) {
gMap.moveCamera(CameraUpdateFactory.newLatLngZoom(
new LatLng(latLng.latitude, latLng.longitude), 15f)
);
onDestination();
}
} else if (resultCode == AutocompleteActivity.RESULT_ERROR) {
Status status = Autocomplete.getStatusFromIntent(data);
Log.i(TAG, Objects.requireNonNull(status.getStatusMessage()));
}
}
}
 

TheRyD3r

Well-known member
Babiato Lover
Trusted Uploader
Dec 21, 2019
398
288
63
Around The World
paxxer.tv
Can Someone know how to show the Google Place Name instead of the Google Location Address in Pickup Location and Destination Location?

I already edited it but seems not working. Always shows the Google Map Address instead of the Place Name

private void openAutocompleteActivity(int request_code) {
List<Place.Field> fields = Arrays.asList(Place.Field.NAME, Place.Field.LAT_LNG);
Intent intent = new Autocomplete.IntentBuilder(
AutocompleteActivityMode.FULLSCREEN, fields)
.build(this);
startActivityForResult(intent, request_code);

}

@OverRide
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if (requestCode == 1) {
if (resultCode == RESULT_OK) {
Place place = Autocomplete.getPlaceFromIntent(data);
pickUpText.setText(place.getName());
LatLng latLng = place.getLatLng();
if (latLng != null) {
gMap.moveCamera(CameraUpdateFactory.newLatLngZoom(
new LatLng(latLng.latitude, latLng.longitude), 15f)
);
onPickUp();
}
} else if (resultCode == AutocompleteActivity.RESULT_ERROR) {
Status status = Autocomplete.getStatusFromIntent(data);
Log.i(TAG, Objects.requireNonNull(status.getStatusMessage()));
}
}
if (requestCode == 2) {
if (resultCode == RESULT_OK) {
Place place = Autocomplete.getPlaceFromIntent(data);
destinationText.setText(place.getName());
LatLng latLng = place.getLatLng();
if (latLng != null) {
gMap.moveCamera(CameraUpdateFactory.newLatLngZoom(
new LatLng(latLng.latitude, latLng.longitude), 15f)
);
onDestination();
}
} else if (resultCode == AutocompleteActivity.RESULT_ERROR) {
Status status = Autocomplete.getStatusFromIntent(data);
Log.i(TAG, Objects.requireNonNull(status.getStatusMessage()));
}
}
}
Requests are not passed through the App alone.

It is passed through the panel as well.

Check from there
 

wolverinejf21

Member
Aug 28, 2019
75
23
8
Debug & Clean Project
I did it and it looks like this error

Execution failed for task ':app:javaPreCompileDebug'.
> Could not resolve all files for configuration ':app:debugCompileClasspath'.
> Could not resolve com.mapbox.mapboxsdk:mapbox-android-sdk:9.6.0.
Required by:
project :app
> No cached version of com.mapbox.mapboxsdk:mapbox-android-sdk:9.6.0 available for offline mode.
> No cached version of com.mapbox.mapboxsdk:mapbox-android-sdk:9.6.0 available for offline mode.
> No cached version of com.mapbox.mapboxsdk:mapbox-android-sdk:9.6.0 available for offline mode.
> No cached version of com.mapbox.mapboxsdk:mapbox-android-sdk:9.6.0 available for offline mode.
> Could not resolve com.mapbox.mapboxsdk:mapbox-android-sdk:9.6.0.
Required by:
project :app > com.mapbox.mapboxsdk:mapbox-android-plugin-places-v9:0.12.0
> No cached version of com.mapbox.mapboxsdk:mapbox-android-sdk:9.6.0 available for offline mode.
> No cached version of com.mapbox.mapboxsdk:mapbox-android-sdk:9.6.0 available for offline mode.
> No cached version of com.mapbox.mapboxsdk:mapbox-android-sdk:9.6.0 available for offline mode.
> No cached version of com.mapbox.mapboxsdk:mapbox-android-sdk:9.6.0 available for offline mode.
> Could not resolve com.mapbox.mapboxsdk:mapbox-android-sdk:9.6.0.
Required by:
project :app > com.mapbox.mapboxsdk:mapbox-android-plugin-markerview-v9:0.4.0
> No cached version of com.mapbox.mapboxsdk:mapbox-android-sdk:9.6.0 available for offline mode.
> No cached version of com.mapbox.mapboxsdk:mapbox-android-sdk:9.6.0 available for offline mode.
> No cached version of com.mapbox.mapboxsdk:mapbox-android-sdk:9.6.0 available for offline mode.
> No cached version of com.mapbox.mapboxsdk:mapbox-android-sdk:9.6.0 available for offline mode.

Possible solution:
- Disable offline mode and rerun the build oie_10125318o2fuEhP2.jpg
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu