Closed AGulev closed 1 year ago
@britzl
pluginVersion - The SDK version of Defold, wrapping iS Native SDK
Do you have any ideas how to implement it? Because we decide this version when we release plugin on githubreleases. So I'm not sure what's the best way to implement this.
Xamarin just puts the version of the native SDK there, which maybe ok if you keep feature set and version number updated: https://developers.is.com/ironsource-mobile/xamarin/get-started-ironsource-xamarin-plugin-ios/#step-2 https://developers.is.com/ironsource-mobile/xamarin/get-started-ironsource-xamarin-plugin-android/#step-1
As long as it is some value which is unique to each release and we can easily figure this out then it doesn't necessarily have to match with the release version on GitHub.
Could we calculate a sha1 somehow? Or could we manually update some value in the source code each time we do a release?
@britzl I think the easiest way is to specify it manually. There is always a risk to forget to do it, but I think I know how to specify it in one place at least.
fixed in 0.6.0
Android: ConfigFile.getConfigFile().setPluginData(pluginType, pluginVersion, pluginFrameworkVersion);
iOS: [ISConfigurations getConfigurations].plugin=@""; // pluginType [ISConfigurations getConfigurations].pluginVersion=@""; // pluginVersion [ISConfigurations getConfigurations].pluginFrameworkVersion=@""; //pluginFrameworkVersion
pluginType - "Defold" pluginVersion - The SDK version of Defold, wrapping iS Native SDK pluginFrameworkVersion - The Defold engine version