-
Notifications
You must be signed in to change notification settings - Fork 193
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
Jared/api key to access token #1733
Conversation
…ing why so im guessing this was a mistake but I wanted to make a note.
… the application name. Also unified the formatting to what the templates currently have.
The templates have not been included in this PR as of right now. The templates use a helper function to set the apikey(access token) but it also checks the command line to see if it was passed in that way. If this is something we wish to keep. It will require some reformatting from what the original issue requested it to be changed too. It's doable to find and replace it and put the forward declare and function implementation back. Seems like a luxury that I don't find most people doing. for reference: arcgis-maps-sdk-samples-qt/Templates/CppSampleTemplate/main.cpp.tmpl Lines 85 to 106 in 7c5d595
|
Also it's worth mentioning that it was never rolled out to all samples( I think I ran into about 30 or so). We just updated the template at some point and started using it from there. If this is something we should decide to keep, we should update the samples to use this so the experience is consistent. |
I agree with your assessment to just remove the command-line method of setting the API key. It was only there for a subset of samples, so we should make it official and consistent in the future if we want it. Good call. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did a spot check. Looks good.
… remove ` - C++` from the sample name.
I updated templates which made me realize I forgot Widgets 😮, that's been resolved and it's just more of the same. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
update apikey terminology to use access token instead. Also renamed samples when being run standalone to not have
- C++
included in it's name.Also caught a few main signatures that deviated from the rest. Updated them so it's unified.
since i modified main.cpp files of individual samples, I picked 1/2 from each category and built them standalone and ran into no issues. Testing all 220 I think is unnecessary as the changes are all the same.
Type of change
Platforms tested on:
Checklist