Open sansan88 opened 4 years ago
First Step:
Next Steps: create pages:
the /return route is used for the EID+ Callback. So we need the /return for data exchange and login via eID+.
The /return and the /next page could be the same. The loader is is displayed as long the pdf data or login is in progress..
@peterpeterparker check the latest update here: https://drive.google.com/file/d/1tKbRPCRr9BplawgbG9LIRSjONYNDkN7Q/view?usp=sharing we can go through tomorrow
wie besprochen mit scully & Tailwind umstellen..
New wizard
other ticket: https://github.com/project-owlly/cloud/issues/63
New Pages (david):
/return (most of the changes are already done by @sansan88 ) you can add the owllyId=state.
this.navCtrl.navigateForward('/next', { state: { userData: userData, pdfData: pdfData, owllyId: owllyId }
/next: get data from storage, (session key is owllyid + sub = userid.) and display name. click on next navigates to /finish shall we use a navigation param? or do we pass data with the routing?
/finish (add qr code for document import to the page if desktop and use button, if on mobile). example code for native
this.helper.openBrowser("eidplus://did:eidplus:undefined/document?source=" + encodeURIComponent(JSON.parse(pdf).url));
on mobile usedeckgo-qrcode
to display a qr code for document import. it's the dataurl of the document.Design and content from figma (tbd) https://www.figma.com/file/JytQQfL4c12pJanZHzisp0/Prototyp_2_wecollect_wizard