Closed etoledom closed 2 months ago
App Name | Gravatar SwiftUI Prototype Build | |
Build Number | 1123 | |
Version | 1.0 | |
Bundle ID | com.automattic.gravatar-sdk-demo-swiftui.prototype-build | |
Commit | 73289cfb8121b390c3eec57d977d08675ae1850f | |
App Center Build | Gravatar SDK Demo - SwiftUI #55 |
App Name | Gravatar UIKit Prototype Build | |
Build Number | 1123 | |
Version | 1.0 | |
Bundle ID | com.automattic.gravatar-sdk-demo-uikit.prototype-build | |
Commit | 73289cfb8121b390c3eec57d977d08675ae1850f | |
App Center Build | Gravatar SDK Demo - UIKit #56 |
- We do the trick here mentioned here. Which would look sth like this:
I implemented this and seems to work good, for as long as Apple don't change the camera background color 🙈
- Add bottom padding with the amount of safe area bottom inset. In this case we need to use GeometryReader to get the safe area bottom inset i think 🤔
This seems to give a similar result to not call .ignoresSafeArea()
, right? And it leaves an empty space at the bottom.
I'd go with the color fill for now.
@pinarol - Ready for another look 👀
Description
Adding the option to upload a new Avatar image by taking a photo using the camera.
Note: We are forcing the sources to be used by the Avatar Picker. I'm not sure if we should make it an option to the 3rd party dev, since this is Gravatar domain.
In case we want to give this option, we can do it in a next PR.
Testing Steps