adobe / aepsdk-react-native

A wrapper around the iOS and Android AEP mobile SDK to allow for integration with React Native applications.
Apache License 2.0
15 stars 28 forks source link

Fix missing parentheses in Optimize README code snippet #380

Closed namArora3112 closed 1 month ago

namArora3112 commented 1 month ago

Description

Fix syntax in the Optimize.extensionVersion() code example, correcting the missing braces in the README.

Related Issue

No related open issue was found, as this is a direct fix for an error in the README code example.

Motivation and Context

This change was required to fix a syntax error in the code example, which could mislead developers or cause confusion. The correction ensures that the example works properly and follows best practices.

How Has This Been Tested?

The corrected syntax has been verified locally by executing the Optimize.extensionVersion() API call and checking that the correct version is logged without syntax errors.

Screenshots (if appropriate):

Types of changes

Checklist: