Skip to content

Commit

Permalink
change toastUtils to toaster
Browse files Browse the repository at this point in the history
  • Loading branch information
realZhangChi committed Feb 23, 2023
1 parent 11fdf5d commit c6c8608
Show file tree
Hide file tree
Showing 13 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
/src/EasyFloat/**/*.aar
/src/Ezviz/**/*.aar
/src/Getui/**/*.aar
/src/ToastUtils/**/*.aar
/src/Toaster/**/*.aar
/src/WeChat/**/*.aar
16 changes: 8 additions & 8 deletions MauiBinding.sln
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MauiBinding.Android.Ezviz.V
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MauiBinding.Android.Ezviz.StreamCtrl", "src\Ezviz\MauiBinding.Android.Ezviz.StreamCtrl\MauiBinding.Android.Ezviz.StreamCtrl.csproj", "{3D558305-8EA4-4528-8BE8-7311D21B6441}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ToastUtils", "ToastUtils", "{67C97949-B28B-4138-AFDA-AE057760F38E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MauiBinding.Android.ToastUtils", "src\ToastUtils\MauiBinding.Android.ToastUtils\MauiBinding.Android.ToastUtils.csproj", "{4F863110-21F5-4822-888A-0274B50CF023}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Toaster", "Toaster", "{67C97949-B28B-4138-AFDA-AE057760F38E}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Jiguang", "Jiguang", "{D90C3D34-C53C-44EB-A0C5-2ECDFA3C2532}"
EndProject
Expand Down Expand Up @@ -93,6 +91,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MauiBinding.Android.HuaweiC
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MauiBinding.Android.HuaweiCloudMeeting.IM", "src\HuaweiCloudMeeting\MauiBinding.Android.HuaweiCloudMeeting.IM\MauiBinding.Android.HuaweiCloudMeeting.IM.csproj", "{D33D2BE2-02B0-4925-8CD0-58C6A5B3B09A}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MauiBinding.Android.Toaster", "src\Toaster\MauiBinding.Android.Toaster\MauiBinding.Android.Toaster.csproj", "{E3380BF5-276A-423C-86B6-F249966A4DAF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -183,10 +183,6 @@ Global
{3D558305-8EA4-4528-8BE8-7311D21B6441}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3D558305-8EA4-4528-8BE8-7311D21B6441}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3D558305-8EA4-4528-8BE8-7311D21B6441}.Release|Any CPU.Build.0 = Release|Any CPU
{4F863110-21F5-4822-888A-0274B50CF023}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4F863110-21F5-4822-888A-0274B50CF023}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4F863110-21F5-4822-888A-0274B50CF023}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4F863110-21F5-4822-888A-0274B50CF023}.Release|Any CPU.Build.0 = Release|Any CPU
{212DBAD9-9B55-4632-B8B7-96D91E0FA49E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{212DBAD9-9B55-4632-B8B7-96D91E0FA49E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{212DBAD9-9B55-4632-B8B7-96D91E0FA49E}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down Expand Up @@ -235,6 +231,10 @@ Global
{D33D2BE2-02B0-4925-8CD0-58C6A5B3B09A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D33D2BE2-02B0-4925-8CD0-58C6A5B3B09A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D33D2BE2-02B0-4925-8CD0-58C6A5B3B09A}.Release|Any CPU.Build.0 = Release|Any CPU
{E3380BF5-276A-423C-86B6-F249966A4DAF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E3380BF5-276A-423C-86B6-F249966A4DAF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E3380BF5-276A-423C-86B6-F249966A4DAF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E3380BF5-276A-423C-86B6-F249966A4DAF}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -268,7 +268,6 @@ Global
{8D0B51FF-DC63-4BD9-B0B0-62645727781B} = {26CB259E-A730-4090-AC51-DA7BD789C058}
{3D558305-8EA4-4528-8BE8-7311D21B6441} = {26CB259E-A730-4090-AC51-DA7BD789C058}
{67C97949-B28B-4138-AFDA-AE057760F38E} = {79968845-C170-45B7-AEFC-0D5BFA3DD64B}
{4F863110-21F5-4822-888A-0274B50CF023} = {67C97949-B28B-4138-AFDA-AE057760F38E}
{D90C3D34-C53C-44EB-A0C5-2ECDFA3C2532} = {79968845-C170-45B7-AEFC-0D5BFA3DD64B}
{212DBAD9-9B55-4632-B8B7-96D91E0FA49E} = {D90C3D34-C53C-44EB-A0C5-2ECDFA3C2532}
{F5993408-1884-408E-AA4C-692F38A9AA38} = {D90C3D34-C53C-44EB-A0C5-2ECDFA3C2532}
Expand All @@ -284,6 +283,7 @@ Global
{9FF109E7-CB68-4034-B42C-5C846FF24732} = {CA072166-FDD6-4BD7-80D3-E5854A0984EC}
{607D71D6-2D14-4AD0-B84C-B2CF06F89D93} = {CA072166-FDD6-4BD7-80D3-E5854A0984EC}
{D33D2BE2-02B0-4925-8CD0-58C6A5B3B09A} = {CA072166-FDD6-4BD7-80D3-E5854A0984EC}
{E3380BF5-276A-423C-86B6-F249966A4DAF} = {67C97949-B28B-4138-AFDA-AE057760F38E}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {5E6D9B10-AA5C-45F6-A8F2-3C896718F3A6}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
- [Getui(个推)](https://github.com/realZhangChi/MauiBinding/tree/main/src/Getui)
- [Huawei Cloud Meeting(华为云会议)](https://github.com/realZhangChi/MauiBinding/tree/main/src/HuaweiCloudMeeting)
- [Jiguang(极光)](https://github.com/realZhangChi/MauiBinding/tree/main/src/Jiguang)
- [ToastUtils](https://github.com/realZhangChi/MauiBinding/tree/main/src/ToastUtils)
- [Toaster](https://github.com/realZhangChi/MauiBinding/tree/main/src/Toaster)
- [WeChat](https://github.com/realZhangChi/MauiBinding/tree/main/src/WeChat)

## Ask for help
Expand Down
2 changes: 1 addition & 1 deletion common.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PackageId>Chi.$(AssemblyName)</PackageId>
<Title>Chi.$(AssemblyName)</Title>
<Authors>ZhangChi</Authors>
<Version>0.0.9</Version>
<Version>0.0.10</Version>
<Description>Maui binding library for third-party vendor mobile SDKs.</Description>
<Copyright>Copyright (c) ZhangChi(https://github.com/realZhangChi)</Copyright>
<PackageProjectUrl>https://github.com/realZhangChi/MauiBinding</PackageProjectUrl>
Expand Down
2 changes: 0 additions & 2 deletions src/ToastUtils/MauiBinding.Android.ToastUtils/NativeAsset.txt

This file was deleted.

9 changes: 0 additions & 9 deletions src/ToastUtils/README.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<None Remove="ToastUtils.aar" />
<None Remove="Toaster.aar" />
</ItemGroup>
</Project>
2 changes: 2 additions & 0 deletions src/Toaster/MauiBinding.Android.Toaster/NativeAsset.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
https://jitpack.io/com/github/getActivity/Toaster/12.0/Toaster-12.0.aar
Toaster.aar
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
<remove-node path="/api/package[@name='com.hjq.toast.config']/interface[@name='IToast']/method[@name='setDuration' and count(parameter)=1 and parameter[1][@type='int']]" />
<remove-node path="/api/package[@name='com.hjq.toast.config']/interface[@name='IToast']/method[@name='getGravity' and count(parameter)=0]" />
<remove-node path="/api/package[@name='com.hjq.toast.config']/interface[@name='IToast']/method[@name='setGravity' and count(parameter)=3 and parameter[1][@type='int'] and parameter[2][@type='int'] and parameter[3][@type='int']]" />
<attr path="/api/package[@name='com.hjq.toast']/class[@name='ToastUtils']/method[@name='debugShow' and count(parameter)=1 and parameter[1][@type='java.lang.Object']]"
<attr path="/api/package[@name='com.hjq.toast']/class[@name='Toaster']/method[@name='debugShow' and count(parameter)=1 and parameter[1][@type='java.lang.Object']]"
name="managedName">DebugShowObject</attr>
<attr path="/api/package[@name='com.hjq.toast']/class[@name='ToastUtils']/method[@name='delayedShow' and count(parameter)=2 and parameter[1][@type='java.lang.Object'] and parameter[2][@type='long']]"
<attr path="/api/package[@name='com.hjq.toast']/class[@name='Toaster']/method[@name='delayedShow' and count(parameter)=2 and parameter[1][@type='java.lang.Object'] and parameter[2][@type='long']]"
name="managedName">DelayedShowObject</attr>
<attr path="/api/package[@name='com.hjq.toast']/class[@name='ToastUtils']/method[@name='showLong' and count(parameter)=1 and parameter[1][@type='java.lang.Object']]"
<attr path="/api/package[@name='com.hjq.toast']/class[@name='Toaster']/method[@name='showLong' and count(parameter)=1 and parameter[1][@type='java.lang.Object']]"
name="managedName">ShowLongObject</attr>
<attr path="/api/package[@name='com.hjq.toast']/class[@name='ToastUtils']/method[@name='show' and count(parameter)=1 and parameter[1][@type='java.lang.Object']]"
<attr path="/api/package[@name='com.hjq.toast']/class[@name='Toaster']/method[@name='show' and count(parameter)=1 and parameter[1][@type='java.lang.Object']]"
name="managedName">ShowObject</attr>
<attr path="/api/package[@name='com.hjq.toast']/class[@name='ToastUtils']/method[@name='showShort' and count(parameter)=1 and parameter[1][@type='java.lang.Object']]"
<attr path="/api/package[@name='com.hjq.toast']/class[@name='Toaster']/method[@name='showShort' and count(parameter)=1 and parameter[1][@type='java.lang.Object']]"
name="managedName">ShowShortObject</attr>
</metadata>
9 changes: 9 additions & 0 deletions src/Toaster/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Maui binding library for Toaster

See [Toaster repository](https://github.com/getActivity/Toaster) for details.

## Android

| Binding library | Native SDK | Nuget |
|:-| :-: | :-: |
|Chi.MauiBinding.Android.Toaster| [Toaster-12.0.aar](https://jitpack.io/#getActivity/Toaster)| [![NuGet](https://buildstats.info/nuget/Chi.MauiBinding.Android.Toaster?includePreReleases=false)](https://www.nuget.org/packages/Chi.MauiBinding.Android.Toaster/ "Download Chi.MauiBinding.Android.Toaster from NuGet.org") |

0 comments on commit c6c8608

Please sign in to comment.