Rising variants and products using CSV in Shopify.

Rising variants and products using CSV in Shopify.

Tiempo de lectura: < 1 minuto The idea is to name images strategically and use CSV import to automatically assign them. You will be explained step by step: Shopify will use these names to map photos to variants when importing from CSV. Benefit:: You don’t have to enter one by one in each variant and upload the photos; everything is done … Read more

Create a Service Account to generate Google API Access Tokens for Validating In-App Purchases on Android

Create a Service Account to generate Google API Access Tokens for Validating In-App Purchases on Android

Tiempo de lectura: 2 minutos Today we’re going to learn how to generate a Service Account account that will serve us for verifying purchases or generating an authentication token in Google. The first thing we’ll do is go to https://console.cloud.google.com/iam-admin/serviceaccounts/create We create an account: We choose the Role and put EDITOR (very important). We press once created, click on Adminstrator … Read more

Configuring Nginx Proxy Manager (npm) or Nginx to send the Real Client IP using Cloudflare Proxy

Configuring Nginx Proxy Manager (npm) or Nginx to send the Real Client IP using Cloudflare Proxy

Tiempo de lectura: < 1 minuto We will learn today how we can capture the real IP of the client passing through Cloudflare’s proxy and receiving it in Nginx Proxy Manager (NPM) or Nginx. We will open our reverse proxy and go to Proxy Hosts. Now we select the proxy that we want to send real IPs and put it in … Read more

Verifying App Purchase with Apple Store Kit 2 and JWT in Python

Verifying App Purchase with Apple Store Kit 2 and JWT in Python

Tiempo de lectura: < 1 minuto We will share a function that will allow us to verify the purchases we make on Apple with Apple Store Kit 2 and JWT using Python. First, we will create a function utils that will allow us to validate the jwsRepresentation of the Apple purchase. For that we will use these functions: import base64import requestsimport … Read more

Verify Purchase in iOS App Using Python

Tiempo de lectura: < 1 minuto We will create a function today that allows us to verify an in-app purchase made from iOS using Apple and written in Python. We will create a utility function like this: import requests def verify_ios_purchase(purchase_token: str, testMode: bool = False) -> dict: print(purchase_token) print(“—————————“) “”” Verifies the iOS receipt with Apple servers. Args: purchase_token (str): … Read more

Customizing Push Notifications using the Firebase Messaging Library in Expo and React Native

Customizing Push Notifications using the Firebase Messaging Library in Expo and React Native

Tiempo de lectura: < 1 minuto You’ll learn how to customize the push notification icon launched in React Native with the @react-native-firebase/messaging library today. We’ll go to app.json: “notification”: { “icon”: “./src/assets/notification-icon.png”, “color”: “#d76d6d” }, We also added to the config plugin: “@react-native-firebase/messaging” With this, we’re halfway done. Now we need to create our notification icon. Only applies to Android. The … Read more

Rescaling an image using the Nearest Neighbor algorithm with Python and Pillow.

Rescaling an image using the Nearest Neighbor algorithm with Python and Pillow.

Tiempo de lectura: < 1 minuto Hoy you are sharing a small function that allows image scaling using nearest neighbor and directly from the server. You will reduce the computational cost of the front to scale images. I recommend using it for pixel art style. Although it may work with other images or you’ll need to change the resizing algorithm. First, … Read more

Implementing In-App Purchases using expo-iap in React Native Expo for Android/IOS

Implementing In-App Purchases using expo-iap in React Native Expo for Android/IOS

Tiempo de lectura: 4 minutos Today we’re going to learn how to implement in-app purchases using Expo IAP for Android or iOS on React Native. First we’re going to install the library we need (expo-iap): npx expo install expo-iap Now we need to add our code inside app.config.js: { “plugins”: [ “expo-iap” ] } Remember to create subscriptions inside Google … Read more