Optimizar de .Apk a .aab (Android App Bundle)

Hoy he actualizado una aplicación de android .Apk a .aab (Android App Bundle). Al subir la aplicación .aab en google play console todo funciona bien pero mas tarde me da el consejo: Diseña tu aplicación para tablets….

En las versiones .APK funciona todo correcto y la aplicación funciona para todos los dispositivos y sin consejos, pero al subir la versión .aab me dice este consejo.

En Android vitals > Tamaño de la aplicación dice: Habilita los APK de configuración para distintas densidades de pantalla -Implementado

y

En Adquisición de usuarios>Consejos de optimización dice: Diseña tu aplicación para tablets -Mostrar detalles

La estructura de la aplicación seria:

  • drawable
  • layout
  • layout-sw600dp
  • layout-sw720dp
  • mipmap-anydpi-v26
  • mipmap-hdpi
  • mipmap-mdpi
  • mipmap-xhdpi
  • mipmap-xxhdpi
  • mipmap-xxxhdpi
  • values
  • values-sw600dp
  • values-sw720dp

La estructura seria correcta?

Install Elementor Pro, Astra pro agency bundle for $5

ASTRA is a super-fast and lightweight WordPress theme with SEO optimization in mind and ELEMENTOR is a super user-friendly WordPress page builder that requires ZERO Knowledge in coding. Why ASTRA+ELEMENTOR? It simply because this is the perfect combination to build a high-speed website and outstanding beautiful website. Here’s what you get in my GIG: 1. ASTRA PRO Bundle with 100% Free lifetime updates worth $ 699 2. ELEMENTOR PRO with 100% free updates worth $ 199 (This is an annual license but don’t worry, I will take care of license renewal with NO EXTRA CHARGE for you). You will also get this Premium Plugin in VIP Package1. ASTRA PRO addon 2. ASTRA PREMIUM AGENCY SITE 3. Convert PRO 4. All-in-one Schema Pro 5. Ultimate Addons for Beaver Builder 6. WP Portfolio 7. Elementor extra I also accept custom order; you may discuss your requirements with me for the best quote. 100% MONEY BACK GUARANTEE..!!!!!!!!

by: aadilhasan
Created: —
Category: WordPress
Viewed: 315


Install Astra Pro Theme With Agency Bundle for $5

why Astra??? ============ Astra is a WordPress theme that has excellent speed and simplicity. Pair it with Astra Sites , and anyone can have a beautiful website with a few mouse clicks. features: ======= unlimited support latest version I will provide: ========= Astra theme Astra addon Astra prosite Astra portfolio If you need any extra features please tell me Thank you..!

by: ahmsaaiid
Created: —
Category: WordPress
Viewed: 175


Magento 2 help validate function to count bundle product child items of an order

I’m trying to write a function that takes an order object, and returns an array of sku => qty (key-value) showing how many of each sku was sold/shipped.

The tricky part is, magento formats line items differently on configurable and bundle products.

Example:

Line1: name shirt-X2, type bundle, ordered 2, shipped 2. Line2: name shirt, type simple, ordered 4, shipped 0. // <-- my problem 

I’ve written this code:

/**  * @param \Magento\Sales\Model\Order $  order  * @return array  */ public function getOrderData($  order) {     $  result = [];     foreach ($  order->getAllItems() as $  item) {         if ($  item->getProductType() != 'simple') {             continue;         }         $  sku = $  item->getSku();         $  orderedReal = $  item->getQtyOrdered();         $  orderedB = $  item->getQtyOrdered() - $  item->getQtyRefunded() - $  item->getQtyCanceled();         $  orderedB = max(round($  orderedB, 8), 0);         $  invoicedB = $  item->getQtyOrdered() - $  item->getQtyInvoiced() - $  item->getQtyCanceled();         $  invoicedB = max(round($  invoicedB, 8), 0);         $  shippedReal = 0;         $  isShipped = false;         if ($  item->getParentItem()) {             $  parent = $  item->getParentItem();             if ($  parent->getQtyOrdered() > 0 && $  parent->getQtyOrdered() == $  parent->getQtyShipped()) {                 $  isShipped = true;             }         } else {             if ($  item->getQtyOrdered() > 0 && $  item->getQtyOrdered() == $  item->getQtyShipped()) {                 $  isShipped = true;             }         }         if ($  isShipped) {             $  shippedReal = $  orderedReal;         }         $  result[] = [             'sku' => $  sku,             'invoiced' => $  invoicedB,             'ordered' => $  orderedB,             'shipped' => $  shippedReal         ];     }     return $  result; } 

Is this function valid, or could it be improved ? Any help is appreciated.

Thanks

Magento 2 help validate function to count bundle product child items of an order

I’m trying to write a function that takes an order object, and returns an array of sku => qty (key-value) showing how many of each sku was sold/shipped.

The tricky part is, magento formats line items differently on configurable and bundle products.

Example:

Line1: name shirt-X2, type bundle, ordered 2, shipped 2. Line2: name shirt, type simple, ordered 4, shipped 0. // <-- my problem 

I’ve written this code:

/**  * @param \Magento\Sales\Model\Order $  order  * @return array  */ public function getOrderData($  order) {     $  result = [];     foreach ($  order->getAllItems() as $  item) {         if ($  item->getProductType() != 'simple') {             continue;         }         $  sku = $  item->getSku();         $  orderedReal = $  item->getQtyOrdered();         $  orderedB = $  item->getQtyOrdered() - $  item->getQtyRefunded() - $  item->getQtyCanceled();         $  orderedB = max(round($  orderedB, 8), 0);         $  invoicedB = $  item->getQtyOrdered() - $  item->getQtyInvoiced() - $  item->getQtyCanceled();         $  invoicedB = max(round($  invoicedB, 8), 0);         $  shippedReal = 0;         $  isShipped = false;         if ($  item->getParentItem()) {             $  parent = $  item->getParentItem();             if ($  parent->getQtyOrdered() > 0 && $  parent->getQtyOrdered() == $  parent->getQtyShipped()) {                 $  isShipped = true;             }         } else {             if ($  item->getQtyOrdered() > 0 && $  item->getQtyOrdered() == $  item->getQtyShipped()) {                 $  isShipped = true;             }         }         if ($  isShipped) {             $  shippedReal = $  orderedReal;         }         $  result[] = [             'sku' => $  sku,             'invoiced' => $  invoicedB,             'ordered' => $  orderedB,             'shipped' => $  shippedReal         ];     }     return $  result; } 

Is this function valid, or could it be improved ? Any help is appreciated.

Thanks

Magento 2 help validate function to count bundle product child items of an order

I’m trying to write a function that takes an order object, and returns an array of sku => qty (key-value) showing how many of each sku was sold/shipped.

The tricky part is, magento formats line items differently on configurable and bundle products.

Example:

Line1: name shirt-X2, type bundle, ordered 2, shipped 2. Line2: name shirt, type simple, ordered 4, shipped 0. // <-- my problem 

I’ve written this code:

/**  * @param \Magento\Sales\Model\Order $  order  * @return array  */ public function getOrderData($  order) {     $  result = [];     foreach ($  order->getAllItems() as $  item) {         if ($  item->getProductType() != 'simple') {             continue;         }         $  sku = $  item->getSku();         $  orderedReal = $  item->getQtyOrdered();         $  orderedB = $  item->getQtyOrdered() - $  item->getQtyRefunded() - $  item->getQtyCanceled();         $  orderedB = max(round($  orderedB, 8), 0);         $  invoicedB = $  item->getQtyOrdered() - $  item->getQtyInvoiced() - $  item->getQtyCanceled();         $  invoicedB = max(round($  invoicedB, 8), 0);         $  shippedReal = 0;         $  isShipped = false;         if ($  item->getParentItem()) {             $  parent = $  item->getParentItem();             if ($  parent->getQtyOrdered() > 0 && $  parent->getQtyOrdered() == $  parent->getQtyShipped()) {                 $  isShipped = true;             }         } else {             if ($  item->getQtyOrdered() > 0 && $  item->getQtyOrdered() == $  item->getQtyShipped()) {                 $  isShipped = true;             }         }         if ($  isShipped) {             $  shippedReal = $  orderedReal;         }         $  result[] = [             'sku' => $  sku,             'invoiced' => $  invoicedB,             'ordered' => $  orderedB,             'shipped' => $  shippedReal         ];     }     return $  result; } 

Is this function valid, or could it be improved ? Any help is appreciated.

Thanks

Bundle product price change issue on _onBundleOptionChanged

I am stuck on bundle product after select option product in bundle price is not updated. As I see on console the message has show below in price-bundle.js

 message: "_onBundleOptionChanged is not defined"     stack: "ReferenceError: _onBundleOptionChanged is not defined↵    at eval (eval at onBundleOptionChanged (http://procured.in/pub/static/frontend/Magento/Decure/en_US/Magento_Bundle/js/price-bundle.js:78:32), <anonymous>:1:1)↵    at $  .<computed>.<computed>.onBundleOptionChanged