Skip to content

amplify issue #5706

Closed
Closed
@Technical-Team-4Dev

Description

@Technical-Team-4Dev

Description

when i run my flutter app through my not9 device i see in the console the following logs appears repeatedly in progress and never stop till i exit app or stop suning
I/amplify:aws-datastore(10984): DataStore plugin initialized.
I/amplify:aws-datastore(10984): Orchestrator lock released.
I/amplify:aws-datastore(10984): Orchestrator lock acquired.

my amplify vesion is the latest available
amplify --v
12.13.1

please help me because these logs prevent me from tracking my app behavior and make my development very hard

Categories

  • Analytics
  • API (REST)
  • API (GraphQL)
  • Auth
  • Authenticator
  • DataStore
  • Notifications (Push)
  • Storage

Steps to Reproduce

1- run flutter app
2- open the console
3- the logs appear

Screenshots

image

Platforms

  • iOS
  • Android
  • Web
  • macOS
  • Windows
  • Linux

Flutter Version

3.24.3

Amplify Flutter Version

12.13.1

Deployment Method

Amplify CLI (Gen 1)

Schema

# This "input" configures a global authorization rule to enable public access to
# all models in this schema. Learn more about authorization rules here: https://docs.amplify.aws/cli/graphql/authorization-rules
input AMPLIFY { globalAuthRule: AuthRule = { allow: public } } # FOR TESTING ONLY!

type Blog @model {
  id: ID!
  name: String!
  posts: [Post] @hasMany
}

type Post @model {
  id: ID!
  title: String!
  blog: Blog @belongsTo
  comments: [Comment] @hasMany
}

type Comment @model {
  id: ID!
  post: Post @belongsTo
  content: String!
}
# Input for global authorization (optional)
input AMPLIFY { globalAuthRule: AuthRule = { allow: public } }
# MainAccount-related models
type MainAccount @model {
  id: ID!
  mainAccountName: String!
  userName: String
  details: String
  icon: String
  defaultCurrency: String
  isDeleted: Int!
  subAccounts: [SubAccount] @hasMany(fields: ["id"])
}

type SubAccount @model {
  id: ID!
  mainAccountId: ID!
  mainAccount: MainAccount @belongsTo(fields: ["mainAccountId"])
  subAccountName: String!
  defaultCurrency: String
  userName: String
  image: String
  phoneNumber: String
  whatsAppNumber: String
  address: String
  note: String
  messagingWay: MessagingWay
  messagingType: MessagingType
  isDeleted: Int!
  debtOperations: [DebtOperation] @hasMany(fields: ["id"])
}

enum MessagingWay {
  sms
  whats
}

enum MessagingType {
  directly
  assurance
  never
}

type DebtOperation @model {
  id: ID!
  subAccountId: ID!
  subAccount: SubAccount @belongsTo(fields: ["subAccountId"])
  userName: String
  moneyAmount: Float!
  wholeSaleAmount: String
  retailAmount: String
  currency: String!
  details: String
  operationType: OperationType
  screenClosed: ScreenClosed
  addDateTime: AWSDateTime!
  isDeleted: Int
}

enum OperationType {
  ALIH
  LAHU
}

enum ScreenClosed {
  yes
  no
}

type ArchiveSubAccount @model {
  id: ID!
  subAccountName: String!
  defaultCurrency: String
  userName: String
  image: String
  phoneNumber: String
  whatsAppNumber: String
  address: String
  note: String
  messagingWay: MessagingWay
  messagingType: MessagingType
  isDeleted: Int!
  archiveDebtOperations: [ArchiveDebtOperation] @hasMany(fields: ["id"])
}

type ArchiveDebtOperation @model {
  id: ID!
  archiveSubAccountId: ID!
  archiveSubAccount: ArchiveSubAccount @belongsTo(fields: ["archiveSubAccountId"])
  userName: String
  moneyAmount: Float!
  wholeSaleAmount: String
  retailAmount: String
  currency: String!
  details: String
  operationType: OperationType
  screenClosed: ScreenClosed
  addDateTime: AWSDateTime!
  isDeleted: Int
}

type Currency @model {
  id: ID!
  currencyName: String!
}

type Settings @model {
  fieldName: String!
  label: String!
  isVisible: Int
}

type PreviousEntry @model {
  id: ID!
  textEntry: String!
}

type Password @model {
  id: ID!
  password: String!
}

enum SerialType {
  local
  mainAccount
  subAccount
}

type UserSerials @model {
  id: ID!
  userSerialNumber: String!
  userSerialPassword: String
  serialType: SerialType
  endedAt: AWSDateTime
  isSerialActive: Int
}

type UserInfo @model {
  id: ID!
  userName: String
  lastName: String
  marketName: String
  userPhone: String
  userEmail: String
  googleId: String
  password: String
  isFirstTime: Int
  trialStartDate: AWSDateTime
  trialActive: Int
  trialEndDate: AWSDateTime
  isActivated: Int
}

Metadata

Metadata

Assignees

Labels

datastoreIssues related to the DataStore Categorynot-reproducibleIssues that cannot be reproduced using the steps providedquestionA question about the Amplify Flutter libraries

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions