From 3b48f30c6055e5ecbb46930ab6619cee3993d6ce Mon Sep 17 00:00:00 2001 From: Niklas Merz Date: Thu, 31 Mar 2022 08:01:44 +0200 Subject: [PATCH] fix(osx): rename classes to fix plugin (#152) --- plugin.xml | 2 +- src/osx/CDVDevice.h | 2 +- src/osx/CDVDevice.m | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin.xml b/plugin.xml index 04a0a035..2381fffe 100644 --- a/plugin.xml +++ b/plugin.xml @@ -90,7 +90,7 @@ - + diff --git a/src/osx/CDVDevice.h b/src/osx/CDVDevice.h index 9def2548..46bde27d 100644 --- a/src/osx/CDVDevice.h +++ b/src/osx/CDVDevice.h @@ -19,7 +19,7 @@ #import -@interface CDVDevice : CDVPlugin +@interface Device : CDVPlugin + (NSString*) cordovaVersion; diff --git a/src/osx/CDVDevice.m b/src/osx/CDVDevice.m index 3a63588f..9e2d6899 100644 --- a/src/osx/CDVDevice.m +++ b/src/osx/CDVDevice.m @@ -23,7 +23,7 @@ Licensed to the Apache Software Foundation (ASF) under one #define SYSTEM_VERSION_PLIST @"/System/Library/CoreServices/SystemVersion.plist" -@implementation CDVDevice +@implementation Device - (NSString*) modelVersion { size_t size;