Skip to content

Commit

Permalink
[refactor] Removed unused comment lines
Browse files Browse the repository at this point in the history
  • Loading branch information
dinncer committed Sep 20, 2022
1 parent 206cef9 commit c8dbdba
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 58 deletions.
10 changes: 0 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# These are some examples of commonly ignored file patterns.
# You should customize this list as applicable to your project.
# Learn more about .gitignore:
# https://www.atlassian.com/git/tutorials/saving-changes/gitignore

# Node artifact files
example/
node_modules/
Expand Down Expand Up @@ -67,11 +62,6 @@ Thumbs.db
*.iws
.idea/

# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/

# Flutter/Dart/Pub related
**/doc/api/
**/ios/Flutter/.last_build_id
Expand Down
4 changes: 0 additions & 4 deletions ios/Classes/SwiftDesk360flutterPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ public class SwiftDesk360flutterPlugin: NSObject, FlutterPlugin {
desk360Environment = .production
}

// var cred: Desk360Properties.Credentials?
// if let userCred = properties["credentials"] as? Dictionary<String,Any> {
// cred = .init(name: userCred["name"] as! String, email: userCred["email"] as! String)
// }
let props = Desk360Properties(
appID: properties["appID"] as? String ?? "",
deviceID: properties["deviceID"] as? String ?? "",
Expand Down
6 changes: 3 additions & 3 deletions ios/desk360flutter.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ Pod::Spec.new do |s|
s.version = '1.0.0'
s.summary = 'Desk360 Flutter SDK'
s.description = <<-DESC
A new flutter plugin project.
Desk360 Flutter SDK
DESC
s.homepage = 'http://example.com'
s.homepage = 'https://www.teknasyon.com/'
s.license = { :type => "Commercial", :file => '../LICENSE' }
s.author = { 'Teknasyon' => 'http://www.teknasyon.com/' }
s.author = { 'Teknasyon' => 'https://www.teknasyon.com/' }
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.public_header_files = 'Classes/**/*.h'
Expand Down
40 changes: 1 addition & 39 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: desk360flutter
description: A new flutter plugin project.
description: Desk360 Flutter SDK
version: 0.1.0
homepage:

Expand All @@ -16,49 +16,11 @@ dev_dependencies:
flutter_test:
sdk: flutter

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter.
flutter:
# This section identifies this Flutter project as a plugin project.
# The 'pluginClass' and Android 'package' identifiers should not ordinarily
# be modified. They are used by the tooling to maintain consistency when
# adding or updating assets for this project.
plugin:
platforms:
android:
package: com.teknasyon.desk360flutter
pluginClass: Desk360flutterPlugin
ios:
pluginClass: Desk360flutterPlugin

# To add assets to your plugin package, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
#
# For details regarding assets in packages, see
# https://flutter.dev/assets-and-images/#from-packages
#
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware.

# To add custom fonts to your plugin package, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts in packages, see
# https://flutter.dev/custom-fonts/#from-packages
4 changes: 2 additions & 2 deletions test/desk360flutter_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ void main() {

setUp(() {
channel.setMockMethodCallHandler((MethodCall methodCall) async {
return '42';
return '1';
});
});

Expand All @@ -18,6 +18,6 @@ void main() {
});

test('getPlatformVersion', () async {
//expect(await Desk360flutter.platformVersion, '42');
//expect(await Desk360flutter.platformVersion, '1');
});
}

0 comments on commit c8dbdba

Please sign in to comment.