Skip to content

Commit

Permalink
Fix CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-sneha-s committed Nov 4, 2023
1 parent a5e1025 commit 6b541cc
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 12 deletions.
1 change: 0 additions & 1 deletion sdk/example/testnami/lib/app_config.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

enum Environment {
production,
staging,
Expand Down
2 changes: 1 addition & 1 deletion sdk/example/testnami/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1

environment:
sdk: '>=3.0.0 <4.0.0'
sdk: '>=3.1.0 <4.0.0'

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand Down
4 changes: 2 additions & 2 deletions sdk/lib/entitlement/nami_entitlement.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ class NamiEntitlement {
NamiPurchase namiPurchase = NamiPurchase.fromMap(element);
activePurchases.add(namiPurchase);
});
return NamiEntitlement(map['name'], map['description'],
map['referenceId'], relatedSkus, purchasedSkus, activePurchases);
return NamiEntitlement(map['name'], map['description'], map['referenceId'],
relatedSkus, purchasedSkus, activePurchases);
}

@override
Expand Down
2 changes: 1 addition & 1 deletion sdk/lib/nami_configuration.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'nami_log_level.dart';
import 'nami_log_level.dart';

class NamiConfiguration {
/// A UUID for the Apple app. You can find the Nami App Platform ID in the App
Expand Down
12 changes: 6 additions & 6 deletions sdk/lib/paywall/nami_purchase_success.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ class NamiPurchaseSuccessApple extends NamiPurchaseSuccess {
final String currencyCode;

NamiPurchaseSuccessApple(
NamiSKU product,
this.transactionID,
this.originalTransactionID,
this.price,
this.currencyCode,
) : super(product);
NamiSKU product,
this.transactionID,
this.originalTransactionID,
this.price,
this.currencyCode,
) : super(product);

factory NamiPurchaseSuccessApple.fromMap(Map<dynamic, dynamic> map) {
return NamiPurchaseSuccessApple(
Expand Down
2 changes: 1 addition & 1 deletion sdk/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ homepage: https://www.namiml.com/
repository: https://github.com/namiml/nami-flutter/

environment:
sdk: ">=3.1.2 <4.0.0"
sdk: '>=3.1.0 <4.0.0'
flutter: ">=1.20.0"

dependencies:
Expand Down

0 comments on commit 6b541cc

Please sign in to comment.