Closed pratius closed 2 years ago
@pratius it looks like you're passing in your appToken incorrectly in the sample shared above:
<TouchableOpacity
style={styles.cta_container}
onPress={() =>
Lean.current.link({
app_token: "myToken",
permissions: ["identity", "accounts", "balance", "transactions"],
customer_id: "myCustID",
sandbox: true,
})
}
assuming you have myToken
as a stored variable, you should remove the "
marks on either side so it's:
app_token: myToken
Same applies to the customer id
Hi,
This SDK is always throwing error connections. I have done the below configuration. Please let me know the missing configuration?
<TouchableOpacity style={styles.cta_container} onPress={() => Lean.current.link({ app_token: "myToken", permissions: ["identity", "accounts", "balance", "transactions"], customer_id: "myCustID", sandbox: true, }) }