Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Rename package name #39

Merged
merged 1 commit into from
Dec 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"version": "0.2.0",
"configurations": [
{
"name": "flutterfire_configurator/example",
"cwd": "packages/flutterfire_configurator/example",
"name": "altfire_configurator/example",
"cwd": "packages/altfire_configurator/example",
"request": "launch",
"type": "dart",
"flutterMode": "debug"
Expand Down
4 changes: 2 additions & 2 deletions melos.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: flutterfire_adapter
repository: https://github.com/altive/flutterfire_adapter
name: altfire
repository: https://github.com/altive/altfire

packages:
- packages/*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// flutterfire_authenticator with FlutterFire Authentication.
library flutterfire_authenticator;
/// altfire_authenticator with FlutterFire Authentication.
library altfire_authenticator;

export 'package:firebase_auth/firebase_auth.dart'
show
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: flutterfire_authenticator
description: flutterfire_authenticator with FlutterFire Authentication.
name: altfire_authenticator
description: altfire_authenticator with FlutterFire Authentication.
publish_to: "none"
version: 0.1.0

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:altfire_authenticator/authenticator.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:flutterfire_authenticator/authenticator.dart';

void main() {
test('initialization', () async {
Expand All @@ -14,7 +14,7 @@ void main() {
class MockAuth extends Fake implements FirebaseAuth {}

// TODO(riscait): add more tests
// https://github.com/altive/flutterfire_adapter/issues/20
// https://github.com/altive/altfire/issues/20
// related links:
// https://github.com/firebase/flutterfire/blob/master/packages/firebase_auth/firebase_auth/test/firebase_auth_test.dart
// setupFirebaseAuthMocks
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:altfire_authenticator/authenticator.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:flutterfire_authenticator/authenticator.dart';

void main() {
group('Constructor', () {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# FlutterFire Configurator
# AltFire Configurator

Provides a wrapper class for the FlutterFire RemoteConfig package to simplify its usage.

## Getting started

```yaml
dependencies:
flutterfire_configurator: any
altfire_configurator: any
```

## Usage
Expand Down
3 changes: 3 additions & 0 deletions packages/altfire_configurator/example/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# AltFire Configurator example

A new Flutter project.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if (flutterVersionName == null) {
}

android {
namespace "jp.co.altive.flutterfireconfigurator.example"
namespace "jp.co.altive.altfireconfigurator.example"
compileSdkVersion flutter.compileSdkVersion
ndkVersion flutter.ndkVersion

Expand All @@ -42,7 +42,7 @@ android {

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "jp.co.altive.flutterfireconfigurator.example"
applicationId "jp.co.altive.altfireconfigurator.example"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion flutter.minSdkVersion
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"project_info": {
"project_number": "282061201204",
"project_id": "flutterfire-adapter",
"storage_bucket": "flutterfire-adapter.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:282061201204:android:bcdcfb126cd82050b04f61",
"android_client_info": {
"package_name": "jp.co.altive.altfireconfigurator.example"
}
},
"oauth_client": [],
"api_key": [
{
"current_key": "AIzaSyC-QqWrVIJNsh-DOmV4OY4gVAi1jXW4e6s"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": []
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:282061201204:android:5a74909eebf13701b04f61",
"android_client_info": {
"package_name": "jp.co.altive.flutterfire_tracker_example"
}
},
"oauth_client": [],
"api_key": [
{
"current_key": "AIzaSyC-QqWrVIJNsh-DOmV4OY4gVAi1jXW4e6s"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": []
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:282061201204:android:86708a3c3a298e18b04f61",
"android_client_info": {
"package_name": "jp.co.altive.flutterfireremoteparameterfetcher.example"
}
},
"oauth_client": [],
"api_key": [
{
"current_key": "AIzaSyC-QqWrVIJNsh-DOmV4OY4gVAi1jXW4e6s"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": []
}
}
}
],
"configuration_version": "1"
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package jp.co.altive.flutterfireconfigurator.example
package jp.co.altive.altfireconfigurator.example

import io.flutter.embedding.android.FlutterActivity

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: d4b1e61d92195dbae4de5691d6fcd85ff6450632

COCOAPODS: 1.13.0
COCOAPODS: 1.14.3
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = jp.co.altive.flutterfireconfigurator.example;
PRODUCT_BUNDLE_IDENTIFIER = jp.co.altive.altfireconfigurator.example;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
Expand All @@ -496,7 +496,7 @@
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = jp.co.altive.flutterfireconfigurator.example.RunnerTests;
PRODUCT_BUNDLE_IDENTIFIER = jp.co.altive.altfireconfigurator.example.RunnerTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
Expand All @@ -514,7 +514,7 @@
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = jp.co.altive.flutterfireconfigurator.example.RunnerTests;
PRODUCT_BUNDLE_IDENTIFIER = jp.co.altive.altfireconfigurator.example.RunnerTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
Expand All @@ -530,7 +530,7 @@
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = jp.co.altive.flutterfireconfigurator.example.RunnerTests;
PRODUCT_BUNDLE_IDENTIFIER = jp.co.altive.altfireconfigurator.example.RunnerTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
Expand Down Expand Up @@ -658,7 +658,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = jp.co.altive.flutterfireconfigurator.example;
PRODUCT_BUNDLE_IDENTIFIER = jp.co.altive.altfireconfigurator.example;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
Expand All @@ -681,7 +681,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = jp.co.altive.flutterfireconfigurator.example;
PRODUCT_BUNDLE_IDENTIFIER = jp.co.altive.altfireconfigurator.example;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<key>PLIST_VERSION</key>
<string>1</string>
<key>BUNDLE_ID</key>
<string>jp.co.altive.flutterfireconfigurator.example</string>
<string>jp.co.altive.altfireconfigurator.example</string>
<key>PROJECT_ID</key>
<string>flutterfire-adapter</string>
<key>STORAGE_BUCKET</key>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"file_generated_by": "FlutterFire CLI",
"purpose": "FirebaseAppID & ProjectID for this Firebase app in this directory",
"GOOGLE_APP_ID": "1:282061201204:ios:6601d34e83ae0bb5b04f61",
"GOOGLE_APP_ID": "1:282061201204:ios:b9bb7d0f32eaf568b04f61",
"FIREBASE_PROJECT_ID": "flutterfire-adapter",
"GCM_SENDER_ID": "282061201204"
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,27 +54,27 @@ class DefaultFirebaseOptions {

static const FirebaseOptions android = FirebaseOptions(
apiKey: 'AIzaSyC-QqWrVIJNsh-DOmV4OY4gVAi1jXW4e6s',
appId: '1:282061201204:android:86708a3c3a298e18b04f61',
appId: '1:282061201204:android:bcdcfb126cd82050b04f61',
messagingSenderId: '282061201204',
projectId: 'flutterfire-adapter',
storageBucket: 'flutterfire-adapter.appspot.com',
);

static const FirebaseOptions ios = FirebaseOptions(
apiKey: 'AIzaSyDW2cbXfGjFB4EdKJTFojoAt_7wM-P10lg',
appId: '1:282061201204:ios:6601d34e83ae0bb5b04f61',
appId: '1:282061201204:ios:b9bb7d0f32eaf568b04f61',
messagingSenderId: '282061201204',
projectId: 'flutterfire-adapter',
storageBucket: 'flutterfire-adapter.appspot.com',
iosBundleId: 'jp.co.altive.flutterfireconfigurator.example',
iosBundleId: 'jp.co.altive.altfireconfigurator.example',
);

static const FirebaseOptions macos = FirebaseOptions(
apiKey: 'AIzaSyDW2cbXfGjFB4EdKJTFojoAt_7wM-P10lg',
appId: '1:282061201204:ios:1b277bae5641209db04f61',
appId: '1:282061201204:ios:3a5fcb9f9505c762b04f61',
messagingSenderId: '282061201204',
projectId: 'flutterfire-adapter',
storageBucket: 'flutterfire-adapter.appspot.com',
iosBundleId: 'jp.co.altive.flutterfireconfigurator.example.RunnerTests',
iosBundleId: 'jp.co.altive.altfireconfigurator.example.RunnerTests',
);
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:altfire_configurator/configurator.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:flutterfire_configurator/configurator.dart';

import 'firebase_options.dart';

Expand Down Expand Up @@ -56,7 +56,7 @@ class _MainAppState extends State<MainApp> {
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(title: const Text('FlutterFireConfigurator')),
appBar: AppBar(title: const Text('altfireconfigurator')),
body: Padding(
padding: const EdgeInsets.all(32),
child: Center(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = jp.co.altive.flutterfireconfigurator.example.RunnerTests;
PRODUCT_BUNDLE_IDENTIFIER = jp.co.altive.altfireconfigurator.example.RunnerTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/example";
Expand All @@ -497,7 +497,7 @@
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = jp.co.altive.flutterfireconfigurator.example.RunnerTests;
PRODUCT_BUNDLE_IDENTIFIER = jp.co.altive.altfireconfigurator.example.RunnerTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/example";
Expand All @@ -512,7 +512,7 @@
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = jp.co.altive.flutterfireconfigurator.example.RunnerTests;
PRODUCT_BUNDLE_IDENTIFIER = jp.co.altive.altfireconfigurator.example.RunnerTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/example";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
PRODUCT_NAME = example

// The application's bundle identifier
PRODUCT_BUNDLE_IDENTIFIER = jp.co.altive.flutterfireconfigurator.example
PRODUCT_BUNDLE_IDENTIFIER = jp.co.altive.altfireconfigurator.example

// The copyright displayed in application information
PRODUCT_COPYRIGHT = Copyright Β© 2023 com.example. All rights reserved.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<key>PLIST_VERSION</key>
<string>1</string>
<key>BUNDLE_ID</key>
<string>jp.co.altive.flutterfireconfigurator.example.RunnerTests</string>
<string>jp.co.altive.altfireconfigurator.example.RunnerTests</string>
<key>PROJECT_ID</key>
<string>flutterfire-adapter</string>
<key>STORAGE_BUCKET</key>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"file_generated_by": "FlutterFire CLI",
"purpose": "FirebaseAppID & ProjectID for this Firebase app in this directory",
"GOOGLE_APP_ID": "1:282061201204:ios:1b277bae5641209db04f61",
"GOOGLE_APP_ID": "1:282061201204:ios:3a5fcb9f9505c762b04f61",
"FIREBASE_PROJECT_ID": "flutterfire-adapter",
"GCM_SENDER_ID": "282061201204"
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.3.11"
altfire_configurator:
dependency: "direct main"
description:
path: ".."
relative: true
source: path
version: "0.1.0"
altfire_lints:
dependency: "direct dev"
description:
Expand Down Expand Up @@ -271,13 +278,6 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
flutterfire_configurator:
dependency: "direct main"
description:
path: ".."
relative: true
source: path
version: "0.1.0"
freezed_annotation:
dependency: transitive
description:
Expand Down
Loading