accessing custom url parameters on android

Im looking for some way to access data passed with custom uri in unity script (like scheme://myapp?data1=xxx&data2=yyy). Is there anything similiar to Application.srcValue that is working on Android?

1 Answer

1

Since no one answered my question, i found answer by my own and wrote little plugin holding whole uri in static var. Suprisingly its working very well.

can you please post/explain your solution? how do you create a custom url scheme for a unity application? how do you handle it?

Right, this answer doesn't really answer the question for the community, thus it's not really an answer to the question. However mkielczyk was last seen 9 days ago, so it's unlikely to get a response any time soon.

Thanks. Anyway, while it seem simple, it took me a while to put all the pieces together. For anybody interested, here's a comprehensive guide I wrote: [Serverless Authentication with Instagram][1] [1]: http://oferei.com/2013/06/serverless-instagram-authentication/

@bahenni: Thanks for your post, I'm sure it will be helpful for others.