Skip to content

Commit 049f1ad

Browse files
authored
Merge pull request #20 from gilzoide/automatic-unity-iap-detection
Automatically define `SINGULAR_SDK_IAP_ENABLED` when Unity IAP package is installed
2 parents 02f515a + 220a46c commit 049f1ad

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

SingularSDK/Runtime/SingularSDK.asmdef

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
"precompiledReferences": [],
1212
"autoReferenced": true,
1313
"defineConstraints": [],
14-
"versionDefines": [],
14+
"versionDefines": [
15+
{
16+
"name": "com.unity.purchasing",
17+
"expression": "",
18+
"define": "SINGULAR_SDK_IAP_ENABLED"
19+
}
20+
],
1521
"noEngineReferences": false
1622
}

0 commit comments

Comments
 (0)