Page 1 of 1

How to specify Plugin is Indigo 2022.xx compatible

PostPosted: Sat May 21, 2022 9:41 am
by rbdubz3
Regarding upgrading plugins to be compatible post Indigo 2022.1 and Python 3.. How is this determined and the python runtime specified?

Scanned a bunch of docs/forums but couldn't find it :( . I 'think' it's 'ServerApiVersion' but not sure - below is a section of the Info.plist file from latest NOAA weather:

<key>PluginVersion</key>
<string>2022.1.0</string>
<key>ServerApiVersion</key>
<string>3.0</string>

<key>IwsApiVersion</key>
<string>1.0.0</string>
<key>LoadPriority</key>
<integer>5</integer>
<key>CFBundleDisplayName</key>
<string>NOAA Weather</string>
<key>CFBundleIdentifier</key>
<string>com.perceptiveautomation.indigoplugin.NOAAWeather</string>
<key>CFBundleVersion</key>
<string>1.0.0</string>
<key>CFBundleURLTypes</key>

Re: How to specify Plugin is Indigo 2022.xx compatible

PostPosted: Sat May 21, 2022 9:56 am
by FlyingDiver
ServerApiVersion is correct. 3.0 or higher will use the Python 3 runtime. Anything less than 3.0 will use the old Python2 runtime (and stop working in 2022.2).

Re: How to specify Plugin is Indigo 2022.xx compatible

PostPosted: Sat May 21, 2022 9:57 am
by ryanbuckner
You're correct. if you are using API 3.0 (compatible with Python 3), use the values you have bolded in your info.plist .

Note, this won't make your plugin compatible, but it will tell Indigo to use API v3

Re: How to specify Plugin is Indigo 2022.xx compatible

PostPosted: Sat May 21, 2022 10:16 am
by rbdubz3
Thanks for the quick replies

ryanbuckner wrote:
You're correct. if you are using API 3.0 (compatible with Python 3), use the values you have bolded in your info.plist .

Note, this won't make your plugin compatible, but it will tell Indigo to use API v3


Yeah just digging into this - i have a bit of more work to do it seems