Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message improvement: which extension need parameter to set #188

Open
sjabberwocky opened this issue Aug 18, 2023 · 3 comments
Open

Comments

@sjabberwocky
Copy link

When apm generates the description, it is not easy to understand which extension missed the parameter value.

For example, apm gives me this message:
generate/app-descriptor :: Parameter not valid: bundleSeedId=.

And it would be much faster to find context of this parameter if this message would contain info that this parameter is related to Push Notification One Signal extension.

@marchbold
Copy link
Contributor

Sure, will look into it.

Currently if you just run:

apm project config set

you will be stepped through all the config and provided documentation from each of the extensions requiring the setting.

@marchbold
Copy link
Contributor

marchbold commented Aug 20, 2023

Or if you just set that particular value you will get documentation as well:

apm project config set bundleSeedId

Outputs:

# [com.distriqt.PushNotifications]: Bundle Seed Id (or App ID Prefix) for your iOS application
#         See: https://docs.airnativeextensions.com/docs/pushnotifications/apple/apple-push-notification-service
bundleSeedId= (required)
Set []:

@sjabberwocky
Copy link
Author

Maybe improve the error message this way:

generate/app-descriptor :: Parameter not valid: bundleSeedId=.
# [com.distriqt.PushNotifications]: Bundle Seed Id (or App ID Prefix) for your iOS application
#         See: https://docs.airnativeextensions.com/docs/pushnotifications/apple/apple-push-notification-service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants