zdavatz / amiko-ios Goto Github PK
View Code? Open in Web Editor NEWAmiKo Desitin für iPhone und iPad
Home Page: https://apps.apple.com/ch/app/amiko-desitin/id687642725
License: GNU General Public License v3.0
AmiKo Desitin für iPhone und iPad
Home Page: https://apps.apple.com/ch/app/amiko-desitin/id687642725
License: GNU General Public License v3.0
maybe related:
If you start the App, there is a black right bottom corner. What is that black?
https://files.slack.com/files-tmb/T27F6280H-F9WURQQ4R-c90e20ed34/_1024.png
The error is the following:
2018-04-05 21:43:24.192642+0200 generika[29669:1525985] -[__NSCFNumber isEqualToString:]: unrecognized selector sent to instance 0xb0000000000005a3
2018-04-05 21:43:24.197255+0200 generika[29669:1525985] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFNumber isEqualToString:]: unrecognized selector sent to instance 0xb0000000000005a3'
*** First throw call stack:
(
0 CoreFoundation 0x0000000107b2c1e6 __exceptionPreprocess + 294
1 libobjc.A.dylib 0x00000001071c1031 objc_exception_throw + 48
2 CoreFoundation 0x0000000107bad784 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x0000000107aae898 ___forwarding___ + 1432
4 CoreFoundation 0x0000000107aae278 _CF_forwarding_prep_0 + 120
5 generika 0x0000000103065c83 -[ReceiptViewController entriesCountForViewOfField:] + 1555
6 generika 0x000000010306410d -[ReceiptViewController layoutFrames] + 1597
7 generika 0x0000000103064e3c -[ReceiptViewController viewWillAppear:] + 140
8 UIKit 0x0000000104bafdc0 -[UIViewController _setViewAppearState:isAnimating:] + 442
9 UIKit 0x0000000104bb062f -[UIViewController __viewWillAppear:] + 131
10 UIKit 0x0000000104bf17f3 -[UINavigationController _startTransition:fromViewController:toViewController:] + 817
11 UIKit 0x0000000104bf267e -[UINavigationController _startDeferredTransitionIfNeeded:] + 870
12 UIKit 0x0000000104bf38cc -[UINavigationController __viewWillLayoutSubviews] + 150
13 UIKit 0x0000000104e4bbd7 -[UILayoutContainerView layoutSubviews] + 231
14 UIKit 0x0000000104ad5808 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1515
15 QuartzCore 0x00000001045cc61a -[CALayer layoutSublayers] + 177
16 QuartzCore 0x00000001045d082b _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 395
17 QuartzCore 0x000000010455729f _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 343
18 QuartzCore 0x0000000104584940 _ZN2CA11Transaction6commitEv + 568
19 QuartzCore 0x00000001045856be _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 76
20 CoreFoundation 0x0000000107ace607 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
21 CoreFoundation 0x0000000107ace55e __CFRunLoopDoObservers + 430
22 CoreFoundation 0x0000000107ab2b81 __CFRunLoopRun + 1537
23 CoreFoundation 0x0000000107ab230b CFRunLoopRunSpecific + 635
24 GraphicsServices 0x000000010aac0a73 GSEventRunModal + 62
25 UIKit 0x0000000104a060b7 UIApplicationMain + 159
26 generika 0x000000010306a97f main + 111
27 libdyld.dylib 0x00000001080e9955 start + 1
28 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
I just sent two Emails with attachments to test importing the attachments out of the real Mail App on your iPhone to a...@i..com. Something is still really wrong there. Please test the import of all prescriptions on your real device. Steps to reproduce:
Get inspired by Generika App for iOS.
At the moment it is all set in the .xib file via Info View.Leading and Info View.Trailing.
I guess we need to set this programmatically.
My Tab Bar Bottom does not reload correctly after rotation. Have a look at the items at the end of the movie.
https://ywesee.slack.com/files/U27FC8WLA/FA0G4PAR4/icons_need_to_be_reloaded_as_well.mov
This seems to be a similar issue like #37
Clicking on Send should save or overwrite the open prescription if it has not yet been saved and then should open the ActionSheet Sharing Options. So clicking on Send will not give you any options to Save as New or overwrite existing. It will do that automatically for you if you have not done it manually before.
Be it an entry field (patient or doctor) or a view, the ZIP is always before the City in Switzerland.
2018-03-20 11:54:30.919787+0100 AmiKoDesitin[4142:1627088] Replaced right VC
2018-03-20 11:54:50.496053+0100 AmiKoDesitin[4142:1627088] lastUsedPrescription: RZ_2018-03-20T115428.amk, amkFiles[rowIndex] RZ_2018-03-20T114029.amk
2018-03-20 11:54:53.272085+0100 AmiKoDesitin[4142:1627088] lastUsedPrescription: RZ_2018-03-20T115428.amk, amkFiles[rowIndex] RZ_2018-03-20T115428.amk
2018-03-20 11:55:00.285040+0100 AmiKoDesitin[4142:1627088] long press began on table view at row 8
2018-03-20 11:55:00.292335+0100 AmiKoDesitin[4142:1627088] MLMedication id:2845, regnrs:54268, 55431, 43225 <Orfiril®/- long>
2018-03-20 11:55:04.821240+0100 AmiKoDesitin[4142:1627088] signatureImg {333, 312}
2018-03-20 11:55:04.862946+0100 AmiKoDesitin[4142:1627088] uncaught exception: *** -[__NSDictionaryM setObject:forKey:]: object cannot be nil (key: patient_id)
2018-03-20 11:55:04.863040+0100 AmiKoDesitin[4142:1627088] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSDictionaryM setObject:forKey:]: object cannot be nil (key: patient_id)'
*** First throw call stack:
(0x182f63164 0x1821ac528 0x182efbc9c 0x182e30b0c 0x102e96d74 0x102eb21e0 0x18ca26b28 0x18ca27520 0x18c866698 0x18c86a394 0x18c62e87c 0x18c556188 0x18c555afc 0x18c555808 0x18c5558a8 0x186fb6dc4 0x102fd128c 0x102fd5ea0 0x182f0b344 0x182f08f20 0x182e28c58 0x184cd4f84 0x18c5815c4 0x102e9b75c 0x18294856c)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
Generika.cc App uses a UIPickerView to set the expiry date. We could do the same to pick a package from the Preparation-Search. The UIPickerView should also have a title:
https://stackoverflow.com/questions/18999115/add-header-to-uipickerview
Set the name, surname and date of birth of the Patient in the subject line followed by the Doctor Name and Surname.
Subject: Rezept: "Name Surname", "Date of Brith" von "Title" "Name Doctor" "Surname Doctor"
Body: Only contains the AMK File, nothing else.
Whenever there is am "Hamburger" the view should be swipeable.
Hamburges need to be linked always with the same view. We discussed this once.
seems to be related #40
so if you click New the buttons Interactions, Save and Send should be disabled.
Empty new lines in prescription are not yet correctly saved.
asdfasdfasdf
asdfasdf asdfasdf
asdfasdfasfd
asdfasdfasdf
Whenever there is am "Hamburger" the view should be swipeable.
Open AMK file from Messages App
At the moment the layout is not recalculated in the app when changing orientation, unless it's done by the system.
As mentioned by @bettar on 30.3. in the AmiKo-Slack channel:
I have a feeling, that when you rotate the device the TextView is not reloaded, and still thinks it has to stick to the PT mode, but in fact it is in LS mode.
If the doctor address is missing please create a link:
"Please add doctor's address." (EN)
"Bitte Arztadresse hinzufügen." (DE)
"Rajoutez l’adresse du médecin svp." (FR)
If you tap the link, it opens the address view to edit the doctor's address.
https://files.slack.com/files-tmb/T27F6280H-F9VUKPWL8-e48d9423d1/_1024.png
At the moment I can not set any separate constraints for the WebView for MLSecondViewController~iphone.xib
for the iPhoneX in LS mode. There should be a leading and trailing 62
for the iPhoneX in LS mode for the WebView. In PT mode there shouldn't be any leading or trailing constraints for the WebView.
I seems the Hash of the prescription is changed, every time you click the the send Button.
Like this the Generika App imports the same prescription again and again.
This is correct or better.
https://files.slack.com/files-tmb/T27F6280H-F9Y69QSG2-a57bf32885/image_uploaded_from_ios_1024.png
Make menu point to correct entry when using iPad to select package.
Suggestion: Use UITextField
a) edit Comment b) delete c) Cancel
Edit a prescription in AmiKo iOS with comments. They will not show in the Generika App. This works for the macOS App.
2018-03-20 11:40:50.163643+0100 AmiKoDesitin[4133:1620990] Replaced right VC
2018-03-20 11:40:56.793248+0100 AmiKoDesitin[4133:1620990] signatureImg {333, 312}
2018-03-20 11:40:59.706078+0100 AmiKoDesitin[4133:1620990] long press began on table view at row 0
2018-03-20 11:40:59.713204+0100 AmiKoDesitin[4133:1620990] MLMedication id:2437, regnrs:56923 <Minerva®>
2018-03-20 11:41:04.994895+0100 AmiKoDesitin[4133:1620990] signatureImg {333, 312}
2018-03-20 11:41:05.034570+0100 AmiKoDesitin[4133:1620990] uncaught exception: *** -[__NSDictionaryM setObject:forKey:]: object cannot be nil (key: patient_id)
2018-03-20 11:41:05.034616+0100 AmiKoDesitin[4133:1620990] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSDictionaryM setObject:forKey:]: object cannot be nil (key: patient_id)'
*** First throw call stack:
(0x182f63164 0x1821ac528 0x182efbc9c 0x182e30b0c 0x102bb6d74 0x102bd21e0 0x18ca26b28 0x18ca27520 0x18c866698 0x18c86a394 0x18c62e87c 0x18c556188 0x18c555afc 0x18c555808 0x18c5558a8 0x186fb6dc4 0x102f1928c 0x102f1dea0 0x182f0b344 0x182f08f20 0x182e28c58 0x184cd4f84 0x18c5815c4 0x102bbb75c 0x18294856c)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.