私はXamarin.Forms(PCL)でプログラミングしています。Xamarin.Forms(PCL)プロジェクトのNotlmplementedException
:私は、私はそれがエラーをスローし、次のコードSystem.NotlmplementedException: This functionality is not implemented in the portable version of this assembly. You should reference the NuGet package from your main application project in order to reference the platform-specific implementation.
try
{
var PhoneCallTask = CrossMessaging.Current.PhoneDialer;
if (PhoneCallTask.CanMakePhoneCall)
{
PhoneCallTask.MakePhoneCall("+528331607211", "Laura");
}
else
{
DisplayAlert("Llamada", "No se puede hacer llamada", "Ok");
}
}
が含まれているボタンで呼び出すメソッドを作っ PhoneCall.Forms.Pluginプラグインを使用しています
あなたのアプリケーション(iOS /アンドロイド)プロジェクトにPCLプロジェクトとともにパッケージをインストールする必要があります。 – SushiHangover
同じパッケージが両方のプロジェクトにインストールされています –
使用しているプラグインへのリンクを追加できますか? iOSの – cvanbeek