This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Collections.Generic; | |
| using System.Xml.Serialization; | |
| using System.IO; | |
| namespace ConvertPackagestoCSProj | |
| { | |
| [XmlRoot(ElementName = "package")] | |
| public class Package | |
| { | |
| [XmlAttribute(AttributeName = "id")] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static MobileServiceClient MobileService = | |
| new MobileServiceClient("https://eblooddonate.azurewebsites.net"); | |
| public static async Task<Result<bool>> AddBloodAsync(Donors donor) | |
| { | |
| var result = new Result<bool>(); | |
| try | |
| { | |
| await MobileService.GetTable<Donors>().InsertAsync(donor); | |
| result.Status = 100; | |
| result.data = true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # The support library contains references to newer platform versions. | |
| # Don't warn about those in case this app is linking against an older | |
| # platform version. We know about them, and they are safe. | |
| -dontwarn android.support.** | |
| -keepattributes Signature | |
| -keepattributes *Annotation* | |
| -keep class com.squareup.okhttp.** { *; } | |
| -keep interface com.squareup.okhttp.** { *; } | |
| -dontwarn com.squareup.okhttp.** | |
| # Okio |