Skip to content

Commit

Permalink
Merge pull request #31 from Microsoft/fix/live_update_empty_strings
Browse files Browse the repository at this point in the history
Don't send empty strings for unused wrapper SDK fields
  • Loading branch information
guperrot authored Nov 10, 2016
2 parents 5ae9b96 + d5214eb commit b7ac586
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ interface MSWrapperSdk

// -(instancetype)initWithWrapperSdkVersion:(NSString *)wrapperSdkVersion wrapperSdkName:(NSString *)wrapperSdkName liveUpdateReleaseLabel:(NSString *)liveUpdateReleaseLabel liveUpdateDeploymentKey:(NSString *)liveUpdateDeploymentKey liveUpdatePackageHash:(NSString *)liveUpdatePackageHash;
[Export("initWithWrapperSdkVersion:wrapperSdkName:liveUpdateReleaseLabel:liveUpdateDeploymentKey:liveUpdatePackageHash:")]
IntPtr Constructor(string wrapperSdkVersion, string wrapperSdkName, string liveUpdateReleaseLabel, string liveUpdateDeploymentKey, string liveUpdatePackageHash);
IntPtr Constructor([NullAllowed] string wrapperSdkVersion, [NullAllowed] string wrapperSdkName, [NullAllowed] string liveUpdateReleaseLabel, [NullAllowed] string liveUpdateDeploymentKey, [NullAllowed] string liveUpdatePackageHash);
}

// @interface MSDevice : MSWrapperSdk
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ private static Type GetBindingType(Type type)

private static void SetWrapperSdk()
{
iOSWrapperSdk wrapperSdk = new iOSWrapperSdk(WrapperSdk.Version, WrapperSdk.Name, "", "", "");
iOSWrapperSdk wrapperSdk = new iOSWrapperSdk(WrapperSdk.Version, WrapperSdk.Name, null, null, null);
iOSMobileCenter.SetWrapperSdk(wrapperSdk);
}
}
Expand Down

0 comments on commit b7ac586

Please sign in to comment.