How flexible is lens management from standalone app?

Hey guys! We are doing research on making a mobile AR game using Lens Studio, both publishing it to snapchat and using it within our app with extended functionalities (configuring difficulty, storing game points of a user etc.) and need some help with checking if thats possible.

So as far as we understand, its possible to build game mechanics in Lens studio, then save the lens and import it into our app via Camera Kit. The question is - how flexible this lens can be in terms of

  • pass parameters into lens before game start (we need to parametrise game session using our database, user's playing history, which will adjust some in-game layout and difficulty)
  • extract game results from lens on end of game, to store it in our database, to have experience points showing inside our app