Add the ability to set global properties from config
Type of change
Check the relevant option:
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] API changes (requires wrappers implementation)
[ ] This change requires a documentation update
Details
https://singularlabs.atlassian.net/browse/SDKDEV-94
Currently there's only an option to add global properties, after init by calling singular.setGlobalProperty,
this PR adds the ability to pass global properties in config object so that they are set before session
How Has This Been Tested?
The feature was tested by calling getGlobalProperties after initializing with properties in config object, and
verifying that the expected properties are there.
Tested both ios and android
Checklist:
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation - if relevant
[x] I have added tests that cover new code or fix
[x] Existing unit tests pass locally with my changes
[x] Relevant code added to testing app - if relevant
Title and description
Add the ability to set global properties from config
Type of change
Check the relevant option:
Details
https://singularlabs.atlassian.net/browse/SDKDEV-94 Currently there's only an option to add global properties, after init by calling singular.setGlobalProperty, this PR adds the ability to pass global properties in config object so that they are set before session
How Has This Been Tested?
The feature was tested by calling getGlobalProperties after initializing with properties in config object, and verifying that the expected properties are there.
Tested both ios and android
Checklist: