Gadget Developers

GD

Gadget Developers

Build SAAS apps alongside thousands of other Gadget developers. Get help, and offer help to others in the community.

Join

Trigger webhook registration programmatically

Hi all, I'm struggling a bit with the registration of Metaobject webhooks. As I know you'll need to add a filter in order to register a webhook. So I'm having a type:xxx filter in my webhook filter. In general this works when the Metaobject definition was created before you install the app. ...

Using live query for messaging inside chatbot

Hey guys. I have added human handoff functionality inside my ai chatbot. I use the live query to do this. Just wondering what safety things I should be adding - say for instance if the connection gets lost is there an advised way to deal with that? If the users internet goes down or there's an error - what's the best way to deal with that. Apologies if this is a rookie question, I've not played with web sockets before...

I am building a react native frontend and used the auth system. Is there any way to persist session?

Each time I sign in it creates a new session. Is there a way to store this value with AsyncStorage and then send it with any requests from the app instead of the default localStorage?

Cold start add-on

Gadget team has enabled that add-on which fixes cold star for me a while ago, and my app had pretty good LCP scores at first. But since around June 29th, they’ve gotten bad again. Even though I pay for this extra add on… Do you know what might be causing this? I thought this add-on would be helpful - and it was for a while but now I’m just paying for something that isn’t working. Any idea what might be going on? :/ My app is https://kedra-checkout-rules.gadget.app/

How to get the deployment List for our production app?

How to get the deployment List for our production app?

How to directly access Shopify API from frontend

I've added the following to my shopify.toml file: ``` [access.admin] direct_api_mode = "online"...

React state refresh after mutation

Hey guys, I need help. Do you experience after executiong bulkUpsert the page will be getting update or the state is getting update instead of specific component? This suddenly happen and I can't find the culprit.

Can someone help me setup a custom domain on my app?

I am looking to add a custom domain to the app I am building.

Oauth error missing_shopify_permission: read_users

Hi all, After adding the read_users scope to my app, I'm getting the error Oauth error missing_shopify_permission: read_users whenever I try to install. I already tried to delete the shopifyShop record before reinstalling, but that didn't solve it. The store I'm trying to install is on Shopify Plus. ...

How to create a flow action endpoint in gadget

https://shopify.dev/docs/apps/build/flow/actions/endpoints#verifying-requests I have a flow action that has to run an api POST endpoint, but when running it it seems like it's not compatible out of the box. Can i configure a route so it will work as a flow endpoint?...
No description

User Id Context on admin extension

Is it possible to know the userid of the user (under the merchant/shop) within an admin extension context? is it included in the connections?

Any way to install app to shopify store from gadget

I have a gadget app that I converted to a sales channel. I want to install it to a store of mine which is non-development. Can I install it? My app is public distribution but not yet on the shopify app store

Add shopify model fields

Hello, I wan to get seo field for product, blogs, collection, pages and articles. Currently if I add them to the shopify fields in the schema.ts I get an error saying that is invalid. My solution was to add a query to shopify api and fill this data when create and update model actions get called....

Filesystem Permission Error - Checkout UI Extension Development

Hi, I'm trying to build a Thank You page extension for my app following the Shopify docs. The AI assistant has tried to fix a persistent filesystem error without success. I'm not a developer, so I'm still learning about the platform and Shopify’s requirements, so I asked the AI to summarize the problem. ISSUE SUMMARY: EACCES: permission denied, mkdir '/gadget/app/extensions/my-extension/dist' Shopify CLI fails to create the dist/ build folder for Checkout UI Extension (purchase.thank-you.block.render) when running yarn shopify:dev in Gadget cloud environment. ...

Request time extremely high

My request time exploded again and I see it's the readFromShopify background action. I just pushed some stuff today that will hopefully improve it. Also why is it so high and then goes down? We didn't change anything on the background action in that time period. It's like 3-4 times as high in the first few days as now.... Also I (and others) had issues with high request times after trivial updates in the past already. Anything you can do to prevent that / get informed about unusual high spikes? Cause I didn't check for a week and suddenly have to pay 500 USD which sucks...
No description

I just purchased another 250 credits but was only given 100

I was charged $25 for 250 credits but only 100 was applied

Error with ShopifyShop

We’re seeing a runtime error in our production app related to the ShopifyShop model. Specifically, Gadget is throwing an error when we attempt to fetch or update the model, due to a field called checkoutApiSupportedBackup being requested. We haven’t explicitly selected this field in our code, so it may be coming from the default selection in the generated packages. This is causing downstream issues where customer API tokens aren’t being set properly, breaking parts of the app flow (e.g. onboarding and paywall access). We’re planning to try regenerating the npm packages and redeploying to see if that resolves the default field selection. If not, we’ll try manually selecting specific fields when querying the ShopifyShop model....
No description

Webhook event on theme asset update

Is it possible to get webhook events on theme asset update? My app has an exemption to the theme API limitation.

Background Queue Access

It's come to my attention that my client would like to have the ability to review and retry queues on an external website to prevent unwanted access to the gadget dashboard. It doesn't seem those are exposed via an API. Is it possible to get access for my project?

I need to transfer ownership of an app

Hi guys! I need to duplicate one of my app (or fork) but into a different gadget account, is this possible? how can I do it properly? thank you!