Skip to content

Commit

Permalink
renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
babariviere authored and babariviere committed Mar 8, 2018
1 parent cdd48bb commit fa08a61
Show file tree
Hide file tree
Showing 23 changed files with 31 additions and 402 deletions.
13 changes: 5 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
# See https://www.dartlang.org/tools/private-files.html

# Files and directories created by pub
.DS_Store
.atom/
.idea
.packages
.pub/
build/
# If you're building an application, you may want to check-in your pubspec.lock
ios/.generated/
packages
pubspec.lock

# Directory created by dartdoc
# If you don't generate documentation locally you can remove this line.
doc/api/
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# sms_plugin
# sms

SMS in flutter.
SMS library

## Getting Started

Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
group 'com.babariviere.smsplugin'
group 'com.babariviere.sms'
version '1.0-SNAPSHOT'

buildscript {
Expand Down
2 changes: 1 addition & 1 deletion android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rootProject.name = 'sms_plugin'
rootProject.name = 'sms'
6 changes: 1 addition & 5 deletions android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.babariviere.smsplugin">
<uses-permission android:name="android.permission.RECEIVE_SMS"/>
<uses-permission android:name="android.permission.READ_SMS"/>
<uses-permission android:name="android.permission.SEND_SMS"/>
<uses-sdk android:minSdkVersion="4"/>
package="com.babariviere.sms">
</manifest>
67 changes: 0 additions & 67 deletions android/src/main/java/com/babariviere/smsplugin/SmsPlugin.java

This file was deleted.

85 changes: 0 additions & 85 deletions android/src/main/java/com/babariviere/smsplugin/SmsReceiver.java

This file was deleted.

4 changes: 2 additions & 2 deletions example/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# sms_plugin_example
# sms_example

Demonstrates how to use the sms_plugin plugin.
Demonstrates how to use the sms plugin.

## Getting Started

Expand Down
2 changes: 1 addition & 1 deletion example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ android {

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.babariviere.smspluginexample"
applicationId "com.babariviere.smsexample"
minSdkVersion 16
targetSdkVersion 27
versionCode 1
Expand Down
4 changes: 2 additions & 2 deletions example/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.babariviere.smspluginexample">
package="com.babariviere.smsexample">

<!-- The INTERNET permission is required for development. Specifically,
flutter needs it to communicate with the running application
Expand All @@ -14,7 +14,7 @@
FlutterApplication and put your custom class here. -->
<application
android:name="io.flutter.app.FlutterApplication"
android:label="sms_plugin_example"
android:label="sms_example"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
Expand Down

This file was deleted.

4 changes: 2 additions & 2 deletions example/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
PRODUCT_BUNDLE_IDENTIFIER = com.babariviere.smsPluginExample;
PRODUCT_BUNDLE_IDENTIFIER = com.babariviere.smsExample;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
Expand All @@ -404,7 +404,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
PRODUCT_BUNDLE_IDENTIFIER = com.babariviere.smsPluginExample;
PRODUCT_BUNDLE_IDENTIFIER = com.babariviere.smsExample;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
Expand Down
2 changes: 1 addition & 1 deletion example/ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>sms_plugin_example</string>
<string>sms_example</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
Expand Down
2 changes: 1 addition & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'dart:async';

import 'package:flutter/material.dart';
import 'package:sms_plugin/sms_plugin.dart';
import 'package:sms/sms.dart';

void main() => runApp(new MyApp());

Expand Down
6 changes: 3 additions & 3 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: sms_plugin_example
description: Demonstrates how to use the sms_plugin plugin.
name: sms_example
description: Demonstrates how to use the sms plugin.

dependencies:
flutter:
Expand All @@ -13,7 +13,7 @@ dev_dependencies:
flutter_test:
sdk: flutter

sms_plugin:
sms:
path: ../

# For information on the generic Dart part of this file, see the
Expand Down
17 changes: 0 additions & 17 deletions example/sms_plugin_example.iml

This file was deleted.

26 changes: 0 additions & 26 deletions example/sms_plugin_example_android.iml

This file was deleted.

25 changes: 0 additions & 25 deletions example/test/widget_test.dart

This file was deleted.

2 changes: 1 addition & 1 deletion ios/Classes/SmsPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@implementation SmsPlugin
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
FlutterMethodChannel* channel = [FlutterMethodChannel
methodChannelWithName:@"sms_plugin"
methodChannelWithName:@"sms"
binaryMessenger:[registrar messenger]];
SmsPlugin* instance = [[SmsPlugin alloc] init];
[registrar addMethodCallDelegate:instance channel:channel];
Expand Down
Loading

0 comments on commit fa08a61

Please sign in to comment.