Skip to content
Permalink
Browse files
fix(osx): rename classes to fix plugin (#152)
  • Loading branch information
NiklasMerz committed Mar 31, 2022
1 parent f6cf8a6 commit 3b48f30c6055e5ecbb46930ab6619cee3993d6ce
Showing 3 changed files with 3 additions and 3 deletions.
@@ -90,7 +90,7 @@
<platform name="osx">
<config-file target="config.xml" parent="/*">
<feature name="Device">
<param name="ios-package" value="CDVDevice"/>
<param name="ios-package" value="Device"/>
</feature>
</config-file>

@@ -19,7 +19,7 @@

#import <Cordova/CDVPlugin.h>

@interface CDVDevice : CDVPlugin
@interface Device : CDVPlugin

+ (NSString*) cordovaVersion;

@@ -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;

0 comments on commit 3b48f30

Please sign in to comment.