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
    
  
  
    
  | // Add below lines based on requirements in Metadata.xml | |
| // Remove the class, method Metadata.xml file. | |
| <remove-node path="/api/package[@name='com.example']/class[@name='ProblemClass']" /> | |
| // Rename the class, method or parameter | |
| <attr path="/api/package[@name='com.example']/class[@name='ProblemClass']" name="managedName">FixedClass</attr> | |
| // Changing the return type or parameter type of a method | |
| <attr path="/api/package[@name='com.example']/class[@name='ProblemClass']/method[@name='problemMethod']" name="return">fixedReturnType</attr> | 
  
    
      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 MauiLibrary; | |
| namespace CustomClusterMaui; | |
| public partial class MainPage : ContentPage | |
| { | |
| public MainPage() | |
| { | |
| InitializeComponent(); | |
| } | 
  
    
      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
    
  
  
    
  | <?xml version="1.0" encoding="utf-8" ?> | |
| <ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" | |
| xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
| x:Class="CustomClusterMaui.MainPage"> | |
| <VerticalStackLayout | |
| Padding="30,0" | |
| Spacing="25"> | |
| <Button | |
| x:Name="getMusicGlobalBtn" | 
  
    
      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 Android.Runtime; | |
| using Com.Spotify.MusicRecommendation; | |
| using Com.Spotify.MusicRecommendation.Model; | |
| using Kotlin.Jvm.Functions; | |
| namespace MauiLibrary; | |
| // All the code in this file is only included on Android. | |
| public class MusicRecommendationWrapper | |
| { | 
  
    
      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
    
  
  
    
  | <ItemGroup Condition="$(TargetFramework.Contains('-android'))"> | |
| <ProjectReference Include="..\JavaBinding\JavaBinding.csproj" /> | |
| </ItemGroup> | 
  
    
      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
    
  
  
    
  | <Project Sdk="Microsoft.NET.Sdk"> | |
| <PropertyGroup> | |
| <TargetFramework>net8.0-android;</TargetFramework> | |
| <SupportedOSPlatformVersion>21</SupportedOSPlatformVersion> | |
| <Nullable>enable</Nullable> | |
| <ImplicitUsings>enable</ImplicitUsings> | |
| </PropertyGroup> | |
| <ItemGroup> | |
| <PackageReference Include="Xamarin.AndroidX.Core.SplashScreen" Version="1.0.1.2" />--> | |
| <PackageReference Include="Xamarin.Kotlin.StdLib.Jdk8" Version="1.9.0.1" /> | 
  
    
      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
    
  
  
    
  | name: Azure Static Web Apps CI/CD | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: [opened, synchronize, reopened, closed] | |
| branches: | |
| - main | 
  
    
      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 Microsoft.AspNetCore.Http; | |
| using Microsoft.AspNetCore.Mvc; | |
| using Microsoft.Azure.WebJobs; | |
| using Microsoft.Azure.WebJobs.Extensions.Http; | |
| using Microsoft.Extensions.Logging; | |
| using System.Collections.Generic; | |
| using System.Threading.Tasks; | |
| namespace Api | |
| { | 
  
    
      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
    
  
  
    
  | { | |
| "IsEncrypted": false, | |
| "Values": { | |
| "AzureWebJobsStorage": "UseDevelopmentStorage=true", | |
| "FUNCTIONS_WORKER_RUNTIME": "dotnet", | |
| "CosmosDbConnectionString": "AccountEndpoint=https://azkonfcosmosdb.documents.azure.com:443/; AccountKey=TtFnIQ3YJQeCSKQ6hq3A9M0Jzq1nKAtcefVcHnCVXLY5cSEnzKnBwnQ9vecrR0POAdOeFJUqqImKMEhWAJ6mVg==;", | |
| "BlobConnectionString": "DefaultEndpointsProtocol=https;AccountName=azkonfblob;AccountKey=/KB0t2issyV8qQXXr/wU6CJDd6fPFMG2xo2tdMwSt9U+lX2VWUbau2v402Agt7NXGv3vBDxUfAw==;EndpointSuffix=core.windows.net" | |
| } | |
| } | 
  
    
      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 Azure.Storage.Blobs; | |
| using Azure.Storage.Blobs.Models; | |
| using Microsoft.AspNetCore.Http; | |
| using Microsoft.AspNetCore.Mvc; | |
| using Microsoft.Azure.WebJobs; | |
| using Microsoft.Azure.WebJobs.Extensions.Http; | |
| using Microsoft.Extensions.Logging; | |
| using Newtonsoft.Json; | |
| using System; | |
| using System.Collections.Generic; | 
NewerOlder