Telefonica / webview-bridge

Novum JavaScript Bridge
MIT License
26 stars 7 forks source link

New methods for customers image management #124

Closed rubygroovy closed 4 months ago

rubygroovy commented 4 months ago

Due to this spec we need to to expose the following methods through the bridge:

getProfileImage

an operation to fetch the photo that the user has uploaded previously, if any.

startProfileImageFlow

an operation to initiate the flow to edit the user's profile photo.

pladaria commented 4 months ago

Consider this response payload for START_PROFILE_IMAGE_FLOW:

{
    status: 'updated' | 'removed' | 'cancelled',
    image?: stringBase64 | null
}

When the flow is cancelled but the user already had an image, the image should return the current image

atabel commented 4 months ago

https://jira.tid.es/browse/APPS-8097

atabel commented 4 months ago

@rubygroovy, are we on time to change the definition with @pladaria suggestion? or is the native development already closed? please, can you link iOS/Android tickets here?

ieduardogf commented 4 months ago

All of this is on the native apps since version 14.9 I think (December 2023). https://jira.tid.es/browse/IOS-9557 https://jira.tid.es/browse/ANDROID-14015