Giter Site home page Giter Site logo

mobile's Introduction

Deprecation Warning

We are deprecating mobile apps as discussed here.

If you willing to take the development forward, you can fork the repo and continue the development.

Frappe Mobile

Access your ERPNext desk or any other Frappe desk anytime from your smartphone.

Desk Awesome Bar Form View

Features:

  1. Create/Update Docs
  2. Add/Remove Assignees, Tags
  3. Add/Remove/Download Attachments
  4. Add Comments, Send Email
  5. Appreciate/Criticize Users involved in specified Doc.
  6. Timeline
  7. Awesombar

Development

  1. To run this Project first you need to Setup Flutter

  2. Install packages

flutter pub get
  1. Run the Project
flutter run

Architecture

This Project roughly follows MVVM Architecture where each screen has seperate file and each stateful screen is contained in a folder with 2 files

  1. View file (layout logic)
  2. View Model File (data processing and state management).

This Project uses provider for State Management. hive, shared_preferences for storage. dio for making network requests.

mobile's People

Contributors

afshankhan avatar chillaranand avatar mohit7208 avatar mohsinalimat avatar pruthvi145 avatar rovertzxd avatar sumitbhanushali avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mobile's Issues

Not able login

Here is Xcode log

2021-02-19 16:29:41.206303+0530 Runner[57896:358971] [VERBOSE-2:ui_dart_state.cc(177)] Unhandled Exception: NoSuchMethodError: Class ‘_TypeError’ has no instance getter ‘statusMessage’.

Receiver: Instance of '_TypeError’

Tried calling: statusMessage

#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:54:5)

#1 LoginViewModel.login (package:frappe_app/views/login/login_viewmodel.dart:99:22)

#2 Login.build.. (package:frappe_app/views/login/login_view.dart:100:48)

Process 'command '/Users/mac/flutter/bin/flutter'' finished with non-zero exit value 1

FAILURE: Build failed with an exception.

  • Where:
    Script '/Users/mac/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1052

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command '/Users/mac/flutter/bin/flutter'' finished with non-zero exit value 1

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

Feature request: roadmap and a defined architecture

Hi, I am so glad you have started an official frappe mobile client.
I am keen to comment on business cases and do some development to help.

I see you just started development, Would it be possible for you to share a roadmap of features? Please.
It would also be nice you share what architecture will you apply and why.

Thank you

Reports show an error

I am unable to open modules that show reports or charts like Lead details, Sales Funnel, etc.
, and an error message comes up every time: "Something went wrong"

Build Failure: Try correcting the name to the name of an existing method, or defining a method named 'inheritFromWidgetOfExactType'.

Seems like my Flutter version is incompatible with what the dev team is using.

Looking for solutions. Working on upgrading Flutter to beta

[   +8 ms] C:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
C:\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata --output-dill
C:\Users\T440s\AppData\Local\Temp\flutter_tools.ae17f213\flutter_tool.f22e01af\app.dill --packages C:\Users\T440s\StudioProjects\mobile\.dart_tool\package_config.json
-Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill
build\cache.dill.track.dill
[ +135 ms] executing: C:\Users\T440s\AppData\Local\Android\sdk\platform-tools\adb.exe -s 04896339AP001050 shell -x logcat -v time -t 1
[  +20 ms] <- compile package:frappe_app/main.dart
[ +159 ms] --------- beginning of system
                    04-03 14:52:39.720 I/MWN     ( 1027): write the value:0 to node successfully.
[  +18 ms] executing: C:\Users\T440s\AppData\Local\Android\sdk\platform-tools\adb.exe version
[ +103 ms] Android Debug Bridge version 1.0.41
                    Version 31.0.1-7187441
                    Installed as C:\Users\T440s\AppData\Local\Android\sdk\platform-tools\adb.exe
[   +5 ms] executing: C:\Users\T440s\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[  +56 ms] Building APK
[  +18 ms] Running Gradle task 'assembleDebug'...
[   +7 ms] Using gradle from C:\Users\T440s\StudioProjects\mobile\android\gradlew.bat.
[   +1 ms] C:\Users\T440s\StudioProjects\mobile\android\gradlew.bat mode: 33279 rwxrwxrwx.
[  +13 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +201 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[   +1 ms] openjdk version "1.8.0_242-release"
           OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
           OpenJDK 64-Bit Server VM (build 25.242-b01, mixed mode)
[   +2 ms] executing: [C:\Users\T440s\StudioProjects\mobile\android/] C:\Users\T440s\StudioProjects\mobile\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-arm64
-Ptarget=C:\Users\T440s\StudioProjects\mobile\lib\main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+3631 ms] Starting a Gradle Daemon (subsequent builds will be faster)
[+15860 ms] > Configure project :app
[   +2 ms] WARNING: The option setting 'android.enableR8=true' is deprecated.
[        ] It will be removed in version 5.0 of the Android Gradle plugin.
[        ] You will no longer be able to disable R8
[ +868 ms] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.19.1/lib/src/picture_provider.dart:52:59: Error: No named parameter with the name 'nullOk'.
[  +17 ms]         context != null ? Localizations.localeOf(context, nullOk: true) : null,
[        ]                                                           ^^^^^^
[        ] /C:/flutter/packages/flutter/lib/src/widgets/localizations.dart:413:17: Context: Found this candidate, but the arguments don't match.
[        ]   static Locale localeOf(BuildContext context) {
[        ]                 ^^^^^^^^
[ +432 ms] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/date_range_picker-1.0.6/lib/date_range_picker.dart:1152:44: Error: Method not found: 'ButtonTheme.bar'.
[   +3 ms]     final Widget actions = new ButtonTheme.bar(
[        ]                                            ^^^
[   +9 ms] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_datetime_picker-1.4.0/lib/flutter_datetime_picker.dart:215:48: Error: No named parameter with the name
'shadowThemeOnly'.
[        ]     ThemeData inheritTheme = Theme.of(context, shadowThemeOnly: true);
[        ]                                                ^^^^^^^^^^^^^^^
[        ] /C:/flutter/packages/flutter/lib/src/material/theme.dart:107:20: Context: Found this candidate, but the arguments don't match.
[        ]   static ThemeData of(BuildContext context) {
[        ]                    ^^
[+2020 ms] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/chewie-0.12.1+1/lib/src/chewie_player.dart:85:7: Error: No named parameter with the name
'resizeToAvoidBottomPadding'.
[  +18 ms]       resizeToAvoidBottomPadding: false,
[        ]       ^^^^^^^^^^^^^^^^^^^^^^^^^^
[        ] /C:/flutter/packages/flutter/lib/src/material/scaffold.dart:1451:9: Context: Found this candidate, but the arguments don't match.
[        ]   const Scaffold({
[        ]         ^^^^^^^^
[  +28 ms] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/chewie_audio-1.1.1/lib/src/chewie_player.dart:99:17: Error: The method 'inheritFromWidgetOfExactType' isn't defined
for the class 'BuildContext'.
[  +21 ms]  - 'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('/C:/flutter/packages/flutter/lib/src/widgets/framework.dart').
[  +39 ms] Try correcting the name to the name of an existing method, or defining a method named 'inheritFromWidgetOfExactType'.
[  +32 ms]         context.inheritFromWidgetOfExactType(_ChewieAudioControllerProvider) as _ChewieAudioControllerProvider;
[   +2 ms]                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Reports

Show reports with simple grid, filters

Not able to login to app

Its showing error in app when i am trying to login and there is no error message in terminal
I have taken pull from master
version
ERPNext: v13.x.x-develop () (develop)
Frappe Framework: v13.x.x-develop () (develop)

Git
frappe: a9411e845634174a7f8c8b11aa0f3dbdbaa4ac7c
erpnext: 22e75725ea808fff21d3f4d0178d136d1a836d4a

I have read previous issues related to login and also frappe is updated to develop

CRM sync with phone's call list and/or phone book

This app should get connection to phones adress book and call list.
Use cases:

  • Always know who is your caller an existing Lead/Contact or a potential lead;
  • Transfer all calls to CRM's appropriate element (Lead, Contact or Deal).

How do I build an apk?

I want to make an apk and test it on my mobile. I'm using Android studio. I just really want to test this thing I'm having trouble running it according to the instructions on the readme. Building also has issues.

If anyone has the apk please let me know

pub get failed (1; So, because frappe_app depends on both flutter_form_builder ^4.2.0 and intl ^0.16.1, version solving failed.)

Dependancy failures

Because no versions of flutter_form_builder match >4.2.0 <5.0.0 and flutter_form_builder 4.2.0 depends on flutter_localizations any from sdk, flutter_form_builder ^4.2.0 requi
res flutter_localizations any from sdk.
And because every version of flutter_localizations from sdk depends on intl 0.17.0, flutter_form_builder ^4.2.0 requires intl 0.17.0.
So, because frappe_app depends on both flutter_form_builder ^4.2.0 and intl ^0.16.1, version solving failed.
Running "flutter pub get" in ....
pub get failed (1; So, because frappe_app depends on both flutter_form_builder ^4.2.0 and intl ^0.16.1, version solving failed.)

Bug: 2FA login not handled

Login page freezes and reverts to the standard login when 2FA is enabled.

The page should revert to the code page.

Not able to login

Android:
After filling the form and pressing the login button, the app does not redirect to the application.

ERPNEXT Mobile App Error 404 (Mobile Application Not loading after V13 Update)

Description of the issue

ERPNEXT Mobile App Error 404 (Mobile Application Not loading after V13 Update)

Context information (for bug reports)

Output of bench version

(paste here)

Steps to reproduce the issue

Observed result

Expected result

Stacktrace / full error message

![WhatsApp Image 2021-04-03 at 16 16 05](https://user-images.githubusercontent.com/29353492/113476524-9ecbde00-9499-11eb-8f9d-3871242fc912.jpeg)

(paste here)

Additional information

OS version / distribution, ERPNext install method, etc.

Edit mode

  • Hide the full header
  • The bottom toolbar should be "Cancel", "Save" (not "Comment" and "New Email')

Checkbox not updating in formValue

When i check a checkbox its not adding that to formValue i tried printing it and it doesnt adds that

so it should have added selling 1 when i checked the checkbox

These are key and value of formValue

newname xyz
apply_on Item Code
items [{item_code: 1101, uom: Kg}]
item_groups null
brands null
apply_rule_on_other null
other_item_code null
other_item_group null
other_brand null
applicable_for Customer
customer M Y
customer_group null
territory null
sales_partner null
campaign null
supplier null
supplier_group null
valid_from 2021-07-24T00:00:00.000
valid_upto 2021-07-27T00:00:00.000
company Abc
currency INR
price_discount_slabs [{min_qty: 5, max_qty: 5, min_amount: 0, max_amount: 0, rate_or_discount: Rate, rate: 5}]

Evaluation Request : Some details are missing

  1. When an employee creates an evaluation request, then on mobile app "Topics*" and "Evaluation Topics List" are not getting displayed under section Course.

Screenshot_20210804-174535

  1. Under Employee section, "Employee Name" and "Employee User ID" are not fetched.

Screenshot_20210804-174710

Login not working

Hello,

I am trying to use my ERPnext login on the frappe application, but it doesn't login for some reason. I have tried a lot of different things from my end but it doesn't seem to work. Any suggestions?

Thank you

rtl support

Hi
what about support rtl cultures like arabic,hebr,persian?

Home Page: Menu bifurcation as on web

On web, the menu is bifurcated into "MODULES". "DOMAINS" and "ADMINISTRATION" options. This can be done on mobile as well.

Mobile View -

Screenshot_20210806-151243

Web View -

Screenshot 2021-08-06 at 3 45 11 PM

Integrations not working

Linkedin, Twitter, and SMS settings are displaying empty boxes on the console in the details tab.

Unable to create patient appointments

In webapp, before creating patient appointments, erpnext shows Check Availability button. After the slot is confirmed, appointment is saved.

Screenshot 2021-08-16 at 12 42 45

Currently, this flow is broken in mobile app.

photo_2021-08-16 12 50 22

Other requests: Provide users for development or allow config a different server

If app is working against some custom dataset and while not prepared to work for all types of datasets, we need to

  1. share the doctypes and config expected server-side if it is expected for developers to work against their own server instances.
    Or
  2. In case it is intended to work only against official servers, please share users for development and test.
    Awaiting for your comments.
    Thanks

Android build child tables show an error

I built the app for android and updated a few plugins. The app shows an error message in the place of child tables:
Failed assertion: line 57 pos 12: 'widget.datalist != null && widget.dataList.isNotEmpty' : is not true.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.