To utilize RequestButton in any project, do the annotated following:
- Import the ShareKit course to your Activity/Fragment in other words. import;
- Then initialize the RequestButton, set the share-kit request information & callback-url and include it to your design view programmatically such as this:
That token above is unique to your application. It isn’t a token supplied by Bloom. You decide on your own personal you to distinguish data sharing requests from multiple sources, or to ensure the data is being shared from your app, and not someone elseвЂ™s as itвЂ™s a unique identifier for your app, allowing.
Keep in mind that for the brand new Android os Studio task, the design produced are going to be a ConstraintLayout in place of a LinearLayout as shown above. Additionally please add an id to your design xml file before initializing it so that it appears the following:
- Then initialize the design as a ConstraintLayout in place of a LinearLayouti.e.
- Following this, the rest in the example that is above stay the exact same.
4. Finally build and install the APK as a unit or emulator as soon as your application appears, you really need to start to see the RequestButton exhibited!
Additionally, the very first time you touch the button, you will be served with many different choices for which application to utilize to start the web link. Just pick Open With -> Bloom -> ALWAYS such that it defaults to starting the Bloom App whether it’s set up in place of a internet web web browser.
How can this appear and feel in an app that is dating? LetвЂ™s see a few examples.
HereвЂ™s just exactly what the scene for modifying your profile that is own could like:
A screenshot of y our demonstration app that is dating the «Verify with Bloom» key
If вЂњFelixвЂќ experiences the entire process of confirming their ID, that procedure appears like this.
- Touch вЂњVerify with BloomвЂќ
- View and verify the information request that is sharing
The Bloom data request that is sharing DatingApp, our demo software
The success screen. The data were completed by us sharing request!
FelixвЂ™s view of their settings and profile could look like this now, aided by the Bloom symbol (or any other indicator of some type) showing that he has got verified their title is really Felix.
An individual’s view of these profile that is own after their title
Ta-da! HeвЂ™s verified their title is obviously Felix, we confirmed this server-side utilising the two Verifiable Credentials supplied (the subtype that isвЂfull-name the вЂid-documentвЂ™ and вЂfacebookвЂ™), therefore now can use some sort of indicator to their profile to exhibit that.
Now, exactly just just how would this check out other users whenever viewing pages of possible matches? We’ve some situations of this also.
A view of Felix’s profile whenever regarded as other people And a view of Mia’s profile as seen by other people
You might like to supply the cap cap cap ability for users to validate what their age is, their telephone number, email, or implement some computer eyesight to compare the picture on the ID document for their dating profile photo!
This is certainly one among the use that is many where you could utilize BloomвЂ™s available supply technology to boost trust and safety inside your platform for a user-permissioned foundation, while keeping data protection and privacy. Verify the data supplied, delete it from your own Verify Kit solution, and invite your users in order to connect knowing you have got taken a minumum of one step that is concrete making your relationship platform safer for many events.
Bloom: Your Data, Your Credit, Your Privacy
All in one simple app at Bloom, we are giving you the tools to take back control of your data. No further centralized information storage space. Forget about attempting to sell down important computer data towards the bidder that is highest. Bloom allows you to acquire, control, and protect important computer data with the latest advancements in blockchain technology.
ItвЂ™s time and energy to get back control of one’s information and unlock the effectiveness of a safe identification today. Down load the Bloom mobile application to build an electronic identification, monitor your credit, to get free information breach alerts with Radar!