Can I use my own userId for using SponsorPay when I initialize the SDK using
sponsorpay.start( appId, userId, securityToken )
I use a unique userId for users in my app, so it would be easier for me if I could just use the same for sponsorPay as well…
Is this allowed, or should I compulsorily use the system-generated id of sponsoryPay?
Hey Satheesh,
Yes, you can. As you can see in the docs (http://docs.coronalabs.com/plugin/sponsorpay/start.html), you can leave the userId null and have the SDK autogenerate one for you, OR you can use your own userId (which needs to be a unique identifier per user). This is actually the preferred case.
Just make sure that it’s unique per user.
Best,
–SponsorPay
I saw the docs, but that point was sort of vague, hence my query
Thanks anyway! 
Hey Satheesh,
Yes, you can. As you can see in the docs (http://docs.coronalabs.com/plugin/sponsorpay/start.html), you can leave the userId null and have the SDK autogenerate one for you, OR you can use your own userId (which needs to be a unique identifier per user). This is actually the preferred case.
Just make sure that it’s unique per user.
Best,
–SponsorPay
I saw the docs, but that point was sort of vague, hence my query
Thanks anyway! 