r/Devvit App Developer 3d ago

Help Menu action location not working

Hi... I am building a sub-specific app to assist with mod tasks. The app will be launched via a menu action. I am using this in the definition because the task is post-specific:

location": "post"

But the menu action does not appear in the post's "three dot" menu. (No error messages... it just vanishes into the ether.) I have tried uninstalling, rebuilding, etcetera.

When I change "post" to "subreddit", it appears as expected in the sub's "three dot" menu.

I have done numerous searches looking for a solution, and have not found anything. If anyone has any suggestions I would be grateful. Thank you.

3 Upvotes

2 comments sorted by

5

u/XQlusioN 3d ago

The default forUserType is moderator, so post menu actions are in the mod menu, not the 3 dot menu.

Setting the forUserType to user should put it in the 3 dot menu

1

u/one_of_the_millions App Developer 3d ago

Thank you very much!