Hello Team,
Happy to report I've just pushed PED r32.3 to agl branch and ready for testing. r32.3 is partial port of following r32 (main branch for android/ios) +
- Documentation overhaul
- Culled pubspec.yaml to bear minimum in preparation for meta-flutter/AGL testing
- Commenced research into Flutter cross-platform linux (GTK embedder) plugins
Re-reading my last email didn't really explain what/why/how for location mocking so thought i better
Mock location What/Why
1. We currently only cover Australia, so when you launch the app geolocator will use your current location and return no fuel stations found
2. As it stands geolocator_linux will not work on AGL
Mock location How
if (developerOptions enabled and location pinned) // condition - 1 use the pinned location
else if (platform is linux or web) //condition - 2 use a static location
else //condition - 3 get location from geoLocator.
else if (platform is linux or web) //condition - 2 use a static location
else //condition - 3 get location from geoLocator.
Therefore In this flow, the first time a user opens the app, condition - 2 is met and the user will see a static location (Sydney CBD), user can now access
dev options and pin other locations. Next time the user opens the app, he assesses the pinned location.
dev options and pin other locations. Next time the user opens the app, he assesses the pinned location.
Everything is working fine on Linux-desktop, UI/UX is a bit janky and not as good as android/ios but that's ok we'll address the next AGL sprint, and
if you don't get round to building/running yourself attaching some screenshots,
- 29.png linux home screen
- 30.png linux mock locations
- 31.png web homescreen dart theme
Next I'm switching to meta-flutter for testing and the only thing i'm a little concerned about their is url_launcher not working
regards
On Mon, Oct 17, 2022 at 11:35 PM Bernard Craddock <bernard@xxxxxxxxxxxxxx> wrote:
Hi Team.I've just deployed PED r32 "Dark Theme enhancements and Developer options" to ped main branch (android/ios)I wouldn't normally tell you much about the main branch but as i got some recent recordings, I thought why not, and commencing AGL branch implementation for the same tomorrowTheming is coming along nicely, although lots remaining refer to color pallets so putting that on hold until inspiration strikes.Introduced Developer Options initially for location mocking as my 1st tentative foray "and workaround" for geolocator “1P Linux GTK Plugins” issue. This will/should allow ped to work in meta-flutter and if so then I can start thinking about what and how for PED / AGL. At Scott's suggestion i've reviewed agl-ivi-demo-platform-flutter, GSoc IC (agl-cluster-demo-platform-flutter) & Dashboard (agl-ivi-demo-platform-flutter) with meta-agl-flutter review pending so have some ideas, And now that I've introduced Developer Options I'm sure I'll come up with lots of use cases.I've have had requests to cover Stockholm, Gothenburg, Leeds (uk), Bangalore and Hyderabad, so time permitting I'll wires those in before year end (valid and current Stations, but mock fuel prices)As your time permits, review recordings for dark theme enhancements & developer options mocking the locations. Features are:
- You can enable developer options, which enables more features related to overriding the app default behavior. Like pinning a mock location.
- There is a pre-existing set of mock locations, which are configured there.
- You can add more custom mock locations.
- You can pin either the pre-existing set of mock locations or the custom one configured by you.
- You can delete the custom configured mock location. Cannot delete the pre-existing one.
- You can not delete the custom mock location if that is already pinned.
- Once you pin a location, you can un-pin it and then can pin another location.
- If developer options are enabled and a location is pinned, then the device uses that location as the default location, instead of going to the actual location.
lastly I'm ccing in Dan from AWS as i'm joining their APN ISV software track - assuming i can jump all the hurdlesLook forward to catching this week during F2Fbest regardsBernard
_._,_._,_
Links:
You receive all messages sent to this group.
View/Reply Online (#10302) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [list-automotive-discussions82@xxxxxxxxxxx]
_._,_._,_
Attachment:
Screenshot-31.png
Description: PNG image
Attachment:
Screenshot-30.png
Description: PNG image
Attachment:
Screenshot-29.png
Description: PNG image