Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #6 from jamesmontemagno/multi-target
Browse files Browse the repository at this point in the history
Multi target
  • Loading branch information
jamesmontemagno authored Mar 27, 2018
2 parents abbde32 + a0fb5a3 commit 88363a3
Show file tree
Hide file tree
Showing 67 changed files with 7,192 additions and 2,141 deletions.
6 changes: 0 additions & 6 deletions Component/Details.md

This file was deleted.

27 changes: 0 additions & 27 deletions Component/GettingStarted.md

This file was deleted.

11 changes: 0 additions & 11 deletions Component/License.md

This file was deleted.

Binary file removed Component/VibratePlugin_512x512.png
Binary file not shown.
50 changes: 0 additions & 50 deletions Component/component.template.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Simple and elegant way to trigger the vibration on a device in your Xamarin.iOS,
* Available on NuGet: https://www.nuget.org/packages/Xam.Plugins.Vibrate [![NuGet](https://img.shields.io/nuget/v/Xam.Plugins.Vibrate.svg?label=NuGet)](https://www.nuget.org/packages/Xam.Plugins.Vibrate/)
* Install into your PCL project and Client projects.

Build status: [![Build status](https://ci.appveyor.com/api/projects/status/pm68wxtxmudjiml1?svg=true)](https://ci.appveyor.com/project/JamesMontemagno/vibrateplugin)
Build status: [![Build status](https://jamesmontemagno.visualstudio.com/_apis/public/build/definitions/6b79a378-ddd6-4e31-98ac-a12fcd68644c/12/badge)

**Platform Support**

Expand All @@ -31,15 +31,15 @@ v.Vibration(TimeSpan.FromSeconds(1)); // 1 second vibration
/// <summary>
/// Vibrate the phone for specified amount of time
/// </summary>
/// <param name="milliseconds">Time to vibrate. 500ms is default</param>
/// <param name="vibrateSpan">Time to vibrate. 500ms is default</param>
void Vibration(TimeSpan? vibrateSpan = null);
```


#### Platform Tweaks

**iOS**
There is no API to vibrate for a specific amount of time, so it will vibrate for the default time the system specifies (around 500 milliseconds..
There is no API to vibrate for a specific amount of time, so it will vibrate for the default time the system specifies (around 500 milliseconds)..

**Android**
The `android.permission.VIBRATE` permission will automatically be added for you into your AndroidManifest.xml
Expand Down
65 changes: 5 additions & 60 deletions Samples/VibrateSample.sln
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25123.0
# Visual Studio 15
VisualStudioVersion = 15.0.27130.2027
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VibrateSample", "VibrateSample\VibrateSample\VibrateSample.csproj", "{D5E9F797-CA33-43BE-9342-8AB8CED6515B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VibrateSample.iOS", "VibrateSample\VibrateSample.iOS\VibrateSample.iOS.csproj", "{3A4A83AE-9B8A-41E6-9264-74BFAE802EA5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VibrateSample.Droid", "VibrateSample\VibrateSample.Droid\VibrateSample.Droid.csproj", "{050CBC6D-D9B8-411B-9741-8CDC1EC970EB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VibrateSample.WinPhone", "VibrateSample\VibrateSample.WinPhone\VibrateSample.WinPhone.csproj", "{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Ad-Hoc|Any CPU = Ad-Hoc|Any CPU
Expand Down Expand Up @@ -147,64 +145,11 @@ Global
{050CBC6D-D9B8-411B-9741-8CDC1EC970EB}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{050CBC6D-D9B8-411B-9741-8CDC1EC970EB}.Release|Mixed Platforms.Deploy.0 = Release|Any CPU
{050CBC6D-D9B8-411B-9741-8CDC1EC970EB}.Release|x86.ActiveCfg = Release|Any CPU
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Ad-Hoc|Any CPU.Deploy.0 = Release|Any CPU
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Ad-Hoc|ARM.ActiveCfg = Release|ARM
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Ad-Hoc|ARM.Build.0 = Release|ARM
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Ad-Hoc|ARM.Deploy.0 = Release|ARM
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|Any CPU
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Ad-Hoc|Mixed Platforms.ActiveCfg = Release|x86
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Ad-Hoc|Mixed Platforms.Build.0 = Release|x86
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Ad-Hoc|Mixed Platforms.Deploy.0 = Release|x86
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Ad-Hoc|x86.ActiveCfg = Release|x86
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Ad-Hoc|x86.Build.0 = Release|x86
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Ad-Hoc|x86.Deploy.0 = Release|x86
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.AppStore|Any CPU.ActiveCfg = Release|Any CPU
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.AppStore|Any CPU.Build.0 = Release|Any CPU
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.AppStore|Any CPU.Deploy.0 = Release|Any CPU
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.AppStore|ARM.ActiveCfg = Release|ARM
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.AppStore|ARM.Build.0 = Release|ARM
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.AppStore|ARM.Deploy.0 = Release|ARM
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.AppStore|iPhone.ActiveCfg = Release|Any CPU
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.AppStore|iPhoneSimulator.ActiveCfg = Release|Any CPU
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.AppStore|Mixed Platforms.ActiveCfg = Release|x86
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.AppStore|Mixed Platforms.Build.0 = Release|x86
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.AppStore|Mixed Platforms.Deploy.0 = Release|x86
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.AppStore|x86.ActiveCfg = Release|x86
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.AppStore|x86.Build.0 = Release|x86
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.AppStore|x86.Deploy.0 = Release|x86
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Debug|ARM.ActiveCfg = Debug|ARM
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Debug|ARM.Build.0 = Debug|ARM
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Debug|ARM.Deploy.0 = Debug|ARM
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Debug|iPhone.ActiveCfg = Debug|Any CPU
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Debug|Mixed Platforms.Build.0 = Debug|x86
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Debug|Mixed Platforms.Deploy.0 = Debug|x86
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Debug|x86.ActiveCfg = Debug|x86
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Debug|x86.Build.0 = Debug|x86
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Debug|x86.Deploy.0 = Debug|x86
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Release|Any CPU.Build.0 = Release|Any CPU
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Release|Any CPU.Deploy.0 = Release|Any CPU
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Release|ARM.ActiveCfg = Release|ARM
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Release|ARM.Build.0 = Release|ARM
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Release|ARM.Deploy.0 = Release|ARM
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Release|iPhone.ActiveCfg = Release|Any CPU
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Release|Mixed Platforms.ActiveCfg = Release|x86
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Release|Mixed Platforms.Build.0 = Release|x86
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Release|Mixed Platforms.Deploy.0 = Release|x86
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Release|x86.ActiveCfg = Release|x86
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Release|x86.Build.0 = Release|x86
{B95407F8-E8D7-453C-A6F2-E5E48CCD2966}.Release|x86.Deploy.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {4C3DD493-76D4-4840-AC1E-C11530D24EB1}
EndGlobalSection
EndGlobal
Loading

0 comments on commit 88363a3

Please sign in to comment.