Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
<button title="Call AUP"> Heap.addUserProperties({prop1: 'foo', prop2: 'bar'})}></button>
<button title="Call Identify"> Heap.identify('foobar')}></button>
onPress={() => Heap.addUserProperties({ prop1: 'foo', prop2: 'bar' })}
/>