• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

6amMart - Multivendor Food, Grocery, eCommerce, Parcel, Pharmacy delivery app with Admin & Website

6amMart - Multivendor Food, Grocery, eCommerce, Parcel, Pharmacy delivery app with Admin & Website 2.7 Nulled

No permission to download
Hi, everything working fine, but on client app, when i try to get a location from the map i get this error message: Error: type '_OneByteString' is not a subtype of type 'int' of 'index'
 
Does anyone know how to hide customer data from store owner please Thank you
In lib/view/screens/order/order_details_screen.dart removing:

Code:
 Text('customer_details'.tr, style: robotoRegular),
SizedBox(
    height:
        Dimensions.PADDING_SIZE_EXTRA_SMALL),

Row(children: [
  ClipOval(
      child: CustomImage(
    image:
        '${Get.find<SplashController>().configModel.baseUrls.customerImageUrl}/${_order.customer != null ? _order.customer.image : ''}',
    height: 35,
    width: 35,
    fit: BoxFit.cover,
  )),
  SizedBox(
      width: Dimensions.PADDING_SIZE_SMALL),
  Expanded(
      child: Column(
          crossAxisAlignment:
              CrossAxisAlignment.start,
          children: [
        Text(
          _order.deliveryAddress
              .contactPersonName,
          maxLines: 1,
          overflow: TextOverflow.ellipsis,
          style: robotoRegular.copyWith(
              fontSize:
                  Dimensions.FONT_SIZE_SMALL),
        ),
        Text(
          _order.deliveryAddress.address,
          maxLines: 1,
          overflow: TextOverflow.ellipsis,
          style: robotoRegular.copyWith(
              fontSize:
                  Dimensions.FONT_SIZE_SMALL,
              color: Theme.of(context)
                  .disabledColor),
        ),
        Wrap(children: [
          (_order.deliveryAddress
                          .streetNumber !=
                      null &&
                  _order.deliveryAddress
                      .streetNumber.isNotEmpty)
              ? Text(
                  'street_number'.tr +
                      ': ' +
                      _order.deliveryAddress
                          .streetNumber +
                      ', ',
                  style: robotoRegular.copyWith(
                      fontSize: Dimensions
                          .FONT_SIZE_EXTRA_SMALL,
                      color: Theme.of(context)
                          .disabledColor),
                  maxLines: 1,
                  overflow:
                      TextOverflow.ellipsis,
                )
              : SizedBox(),
          (_order.deliveryAddress.house !=
                      null &&
                  _order.deliveryAddress.house
                      .isNotEmpty)
              ? Text(
                  'house'.tr +
                      ': ' +
                      _order.deliveryAddress
                          .house +
                      ', ',
                  style: robotoRegular.copyWith(
                      fontSize: Dimensions
                          .FONT_SIZE_EXTRA_SMALL,
                      color: Theme.of(context)
                          .disabledColor),
                  maxLines: 1,
                  overflow:
                      TextOverflow.ellipsis,
                )
              : SizedBox(),
          (_order.deliveryAddress.floor !=
                      null &&
                  _order.deliveryAddress.floor
                      .isNotEmpty)
              ? Text(
                  'floor'.tr +
                      ': ' +
                      _order.deliveryAddress
                          .floor,
                  style: robotoRegular.copyWith(
                      fontSize: Dimensions
                          .FONT_SIZE_EXTRA_SMALL,
                      color: Theme.of(context)
                          .disabledColor),
                  maxLines: 1,
                  overflow:
                      TextOverflow.ellipsis,
                )
              : SizedBox(),
        ]),
      ])),
  (_takeAway &&
          (_pending ||
              _confirmed ||
              _processing))
      ? TextButton.icon(
          onPressed: () async {
            String url =
                'https://www.google.com/maps/dir/?api=1&destination=${_order.deliveryAddress.latitude}'
                ',${_order.deliveryAddress.longitude}&mode=d';
            if (await canLaunchUrlString(url)) {
              await launchUrlString(url,
                  mode: LaunchMode
                      .externalApplication);
            } else {
              showCustomSnackBar(
                  'unable_to_launch_google_map'
                      .tr);
            }
          },
          icon: Icon(Icons.directions),
          label: Text('direction'.tr),
        )
      : SizedBox(),
]),

should work
 
plz share working code..
1.5 works just fine for me. Does upgrading to 1.5.1 cause the issue or is it a fresh install.
Also if the app is working in debug but not in release, your probably doing something wrong for the release build stage.

I'll need more information.

edit: I was looking at the 1.5.1 update i realise they updated gradle which means you may need to update your NDK version.
 
Last edited:
  • Like
Reactions: ajaygupt
In lib/view/screens/order/order_details_screen.dart removing:

Code:
 Text('customer_details'.tr, style: robotoRegular),
SizedBox(
    height:
        Dimensions.PADDING_SIZE_EXTRA_SMALL),

Row(children: [
  ClipOval(
      child: CustomImage(
    image:
        '${Get.find<SplashController>().configModel.baseUrls.customerImageUrl}/${_order.customer != null ? _order.customer.image : ''}',
    height: 35,
    width: 35,
    fit: BoxFit.cover,
  )),
  SizedBox(
      width: Dimensions.PADDING_SIZE_SMALL),
  Expanded(
      child: Column(
          crossAxisAlignment:
              CrossAxisAlignment.start,
          children: [
        Text(
          _order.deliveryAddress
              .contactPersonName,
          maxLines: 1,
          overflow: TextOverflow.ellipsis,
          style: robotoRegular.copyWith(
              fontSize:
                  Dimensions.FONT_SIZE_SMALL),
        ),
        Text(
          _order.deliveryAddress.address,
          maxLines: 1,
          overflow: TextOverflow.ellipsis,
          style: robotoRegular.copyWith(
              fontSize:
                  Dimensions.FONT_SIZE_SMALL,
              color: Theme.of(context)
                  .disabledColor),
        ),
        Wrap(children: [
          (_order.deliveryAddress
                          .streetNumber !=
                      null &&
                  _order.deliveryAddress
                      .streetNumber.isNotEmpty)
              ? Text(
                  'street_number'.tr +
                      ': ' +
                      _order.deliveryAddress
                          .streetNumber +
                      ', ',
                  style: robotoRegular.copyWith(
                      fontSize: Dimensions
                          .FONT_SIZE_EXTRA_SMALL,
                      color: Theme.of(context)
                          .disabledColor),
                  maxLines: 1,
                  overflow:
                      TextOverflow.ellipsis,
                )
              : SizedBox(),
          (_order.deliveryAddress.house !=
                      null &&
                  _order.deliveryAddress.house
                      .isNotEmpty)
              ? Text(
                  'house'.tr +
                      ': ' +
                      _order.deliveryAddress
                          .house +
                      ', ',
                  style: robotoRegular.copyWith(
                      fontSize: Dimensions
                          .FONT_SIZE_EXTRA_SMALL,
                      color: Theme.of(context)
                          .disabledColor),
                  maxLines: 1,
                  overflow:
                      TextOverflow.ellipsis,
                )
              : SizedBox(),
          (_order.deliveryAddress.floor !=
                      null &&
                  _order.deliveryAddress.floor
                      .isNotEmpty)
              ? Text(
                  'floor'.tr +
                      ': ' +
                      _order.deliveryAddress
                          .floor,
                  style: robotoRegular.copyWith(
                      fontSize: Dimensions
                          .FONT_SIZE_EXTRA_SMALL,
                      color: Theme.of(context)
                          .disabledColor),
                  maxLines: 1,
                  overflow:
                      TextOverflow.ellipsis,
                )
              : SizedBox(),
        ]),
      ])),
  (_takeAway &&
          (_pending ||
              _confirmed ||
              _processing))
      ? TextButton.icon(
          onPressed: () async {
            String url =
                'https://www.google.com/maps/dir/?api=1&destination=${_order.deliveryAddress.latitude}'
                ',${_order.deliveryAddress.longitude}&mode=d';
            if (await canLaunchUrlString(url)) {
              await launchUrlString(url,
                  mode: LaunchMode
                      .externalApplication);
            } else {
              showCustomSnackBar(
                  'unable_to_launch_google_map'
                      .tr);
            }
          },
          icon: Icon(Icons.directions),
          label: Text('direction'.tr),
        )
      : SizedBox(),
]),

should work
Thank you but I didn't know how to be clear I need to hide this details e-mail: example*** @gmail.com
Mobile: +91 75622 ***

from the store owner in the app and on the panel it would be possible
 
  • Like
Reactions: lostkid
Thank you but I didn't know how to be clear I need to hide this details e-mail: example*** @gmail.com
Mobile: +91 75622 ***

from the store owner in the app and on the panel it would be possible
Send a screenshot of where you want this removed.
 
1.5 works just fine for me. Does upgrading to 1.5.1 cause the issue or is it a fresh install.
Also if the app is working in debug but not in release, your probably doing something wrong for the release build stage.

I'll need more information.

edit: I was looking at the 1.5.1 update i realise they updated gradle which means you may need to update your NDK version.
sorry but not working.....:)
 
Hi i have vps server 4gb memory yet i m facing too many requests running on only 5 user apps do any one help me with it
 
1.5 works just fine for me. Does upgrading to 1.5.1 cause the issue or is it a fresh install.
Also if the app is working in debug but not in release, your probably doing something wrong for the release build stage.

I'll need more information.

edit: I was looking at the 1.5.1 update i realise they updated gradle which means you may need to update your NDK version.
Hi, everything working fine, but on client app, when i try to get a location from the map i get this error message: Error: type '_OneByteString' is not a subtype of type 'int' of 'index'

Any help please?
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock