AppTour 1.0.4
dotnet add package AppTour --version 1.0.4
NuGet\Install-Package AppTour -Version 1.0.4
<PackageReference Include="AppTour" Version="1.0.4" />
<PackageVersion Include="AppTour" Version="1.0.4" />
<PackageReference Include="AppTour" />
paket add AppTour --version 1.0.4
#r "nuget: AppTour, 1.0.4"
#:package AppTour@1.0.4
#addin nuget:?package=AppTour&version=1.0.4
#tool nuget:?package=AppTour&version=1.0.4
AppTour
AppTour gives developers a fast and easy way to implement and guide users through app features.
Platforms supported
| Platform | Version |
|---|---|
| .Net MAUI Android | API 21+ |
| .Net MAUI iOS | iOS 11.0+ |
Installation
AppTour is available via NuGet, grab the latest package and install it in your solution:
Install-Package AppTour
In your MauiProgram class add the following using statement:
using AppTour;
AppTour
This repository contains details of the implementation and functionality of app tours within the application. App tours are integrated across various modules to assist users, especially during first-time login or when encountering new features.
Buttons and it's Functionality
The app tours interface includes several buttons with specific functionalities:
- Cancel (Top right of the app tours popup)
- Marks the app tours for the current page as visited. For example, if the user cancels the app tours on the one screen, they won't reappear on subsequent visits to that screen.
- Next (Bottom right of the app tours popup)
- Advances to the next step in the app tours sequence. This button is replaced by the "Done" button on the last step.
- Back (Bottom left of the app tours popup)
- Returns to the previous step in the app tours sequence. This button is disabled on the first step.
- Done (Bottom right of the app tours popup, only on the last step)
- Marks the app tours for the current page as visited, similar to the "Cancel" button. This button only appears at the last step, whereas the "Cancel" button is always visible.
- Skip (Button beside Next/Done on the app tours popup)
- Marks the app tours for all pages as visited. If a user clicks "Skip" on the one screen, app tours will be disabled across all pages.
App Tour Reset Behavior
- This is device-specific. Once a user installs the app and completes the App Tour. The App Tour will only reset if the user uninstalls and reinstalls the app or clears the app's cache from the device settings.
API Usage
You must add this namespace to your xaml files:
xmlns:local="clr-namespace:AppTour;assembly=AppTour"
Now you can use the AppTour from this namespace:
<local:AppTour x:Name="AppTourControl" />
Add below lines .cs file:
var steps = new List<CoachMark>
{
new CoachMark { Title = "Step 1", Description = "This is the first step.", TargetView = "btn1" },
new CoachMark { Title = "Step 2", Description = "This is the second step.", TargetView = "frame1" }
};
AppTourControl.Steps = steps;
AppTourControl.Start("IntroTour");
Please note that if you want to display the tour guide on multiple screens, you need to pass different strings to the Start method for each screen.
For example:
If you have two screens, Login and Dashboard, you should add AppTourControl.Start("Login") in the Login screen and AppTourControl.Start("Dashboard") in the Dashboard screen.
Additionally, in the TargetView, provide the x:Name of the view from the XML on which you want to display the app tour.
Known Limitation
Currently, it's not possible to display an app tour on individual items in a ListView or CollectionView.
For example:
if you have a list of users with details such as age, name, and contact number, you cannot show an app tour for specific items like "age," "name," or "contact number" because the item’s properties (e.g., x:name) cannot be accessed directly from the list in this manner.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-android34.0 is compatible. net8.0-ios18.0 is compatible. net9.0-android was computed. net9.0-ios was computed. net10.0-android was computed. net10.0-ios was computed. |
-
net8.0-android34.0
- Microsoft.Maui.Controls (>= 8.0.83)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.83)
-
net8.0-ios18.0
- Microsoft.Maui.Controls (>= 8.0.83)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.83)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.