livecode / livecode-ide

LiveCode cross-platform development environment (IDE)
https://livecode.com/
32 stars 70 forks source link

[[ Bug 23193 ]] Add support for App Tracking Transparency #2153

Closed livecodepanos closed 3 years ago

livecodepanos commented 3 years ago

This patch adds support for App Tracking Transparency in the standalone builder, by adding a checkbox for adding the required plist key, as well as a field for including the usage description string.

livecodepanos commented 3 years ago

Before:

Screenshot 2021-05-06 at 15 58 16

After:

Screenshot 2021-05-06 at 15 51 12 Screenshot 2021-05-06 at 15 51 29
livecodepanos commented 3 years ago

Binary changes:

The script of the checkbox:

on mouseUp
   storeSetting "AppTrackingTransparency", the hilite of me
   set the visible of field "App Tracking Transparency Message" to the hilite of me
end mouseUp

Script of the field:

on closeField
   storeSetting "AppTrackingTransparencyMessage", the text of me
end closeField
livecodeian commented 3 years ago

Binary changes:

The script of the checkbox:

on mouseUp
   storeSetting "AppTrackingTransparency", the hilite of me
   set the visible of field "App Tracking Transparency Message" to the hilite of me
end mouseUp

@livecodepanos I think it would be better here to toggle the enabled of the field, rather than its visibility

livecodepanos commented 3 years ago

@livecodeian I have updated the checkbox to do:

on mouseUp
   storeSetting "AppTrackingTransparency", the hilite of me
   set the enabled of field "App Tracking Transparency Message" to the hilite of me
end mouseUp
livecodeian commented 3 years ago

@livecode-vulcan review ok a6d71a5

livecode-vulcan commented 3 years ago

💙 review by @livecodeian ok a6d71a58c660b5a09890802efb479c1c8f30e6ec