Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
Update version to 2.0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
einsteinx2 committed Mar 23, 2022
1 parent 9e168fe commit 0a10c8c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Library/mparticle.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="2.8.1">
<id>mParticle.Xamarin</id>
<version>2.0.11</version>
<version>2.0.12</version>
<title>mParticle Xamarin SDK</title>
<authors>Wasi Haider, Sam Dozor, Will Passidomo, mParticle Inc.</authors>
<owners>mParticle Inc.</owners>
Expand Down
35 changes: 18 additions & 17 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This SDK is distributed via the public NuGet gallery: https://www.nuget.org/pack
If you have both an iOS and an Android project, you should add the NuGet package to each following the Xamarin Add Package dialog. [See here](https://developer.xamarin.com/guides/cross-platform/xamarin-studio/nuget_walkthrough/) for a detailed walkthrough on using NuGet with a Xamarin project.

```bash
Install-Package mParticle.Xamarin -Version 2.0.3
Install-Package mParticle.Xamarin -Version 2.0.12
```

### mParticle Singleton
Expand All @@ -28,22 +28,23 @@ namespace MyProject
{
void Example ()
{
//use the correct workspace API key and secret for iOS and Android
string apiKey = "";
string apiSecret = "";
#if __ANDROID__
apiKey = "REPLACE ME ANDROID KEY", ;
apiSecret = "REPLACE ME ANDROID SECRET"
#elif __IOS__
apiKey = "REPLACE ME IOS KEY", ;
apiSecret = "REPLACE ME IOS SECRET"
#endif

new MParticleSDK().Initialize(new MParticleOptions()
{
ApiKey = apiKey,
ApiSecret = apiSecret
});
//use the correct workspace API key and secret for iOS and Android
string apiKey = "";
string apiSecret = "";
#if __ANDROID__
apiKey = "REPLACE ME ANDROID KEY", ;
apiSecret = "REPLACE ME ANDROID SECRET"
#elif __IOS__
apiKey = "REPLACE ME IOS KEY", ;
apiSecret = "REPLACE ME IOS SECRET"
#endif

new MParticleSDK().Initialize(new MParticleOptions()
{
ApiKey = apiKey,
ApiSecret = apiSecret
});
}
}
}
```
Expand Down

0 comments on commit 0a10c8c

Please sign in to comment.