Play Integrity API Extension

Hello everyone,

I’m looking for an extension to implement the Play Integrity API.

My goal is to secure my app, which contains paid content. I need to get an integrity token from the API, send it to my backend server (Cloudflare/Firebase), and have the server verify it before sending back a secure, temporary download link.

The core function needed is a block to requestIntegrityToken.

Does an extension for this already exist? If not, What is the solution to this problem?

We actually have this component in development already. We should be able to release it within the next few weeks.

2 Likes

Hi Diego and Alafari
@Diego
@Safwan_Alarifi
Can you give details?

Block to get token from API and perform authentication?

I’ve already done it, but I did it with PHP and kodular blocks.

How will this block work?

P.S. - Yes, I know that to do it with PHP I need to have a service on the host.

So it will be the device part, just retrieving the token with a given request hash. The decode and validation part must always be done on a server somewhere else.

1 Like

Hey Diego, I wanted to share some thoughts on Kodular’s direction. With generative AI turning more people into developers, now is the perfect time to empower the extension-making community.
There are some key PRs in the MIT source (AAR/resource support, latest version of D8) that the community has been waiting for. I know the MIT team has different priorities, but for a commercial platform like Kodular, these features feel essential for staying developer-friendly. If you implement these, you’ll see a surge in high-quality extensions from the community. It would free up your team’s resources, since we could build many of the advanced extensions ourselves.
Also, a dedicated Extension IDE would be incredible. You could even partner with @JEWEL to officially support and expand his “Fast” IDE.
Honestly, I don’t care as much about getting new components from the team if you give us the power to build them ourselves. Empowering your developers is the best way forward.