cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jeanshak
Helper IV
Helper IV

Urgent Help / Support: Collect & Save - App terminates under iOS Iphone

Urgent Help / Support: Collect & Save - App terminates under iOS Iphone

Collect & Save - App terminates under iOS Iphone 
 
 

please check the following Code, here the App terminates unter ios.
Android works ok, is getting more slow if I have more data in my collection.

Code:

If (GEWERKNR.Text="" || IsEmpty(cmbBVNR.Selected.bauvorh || IsEmpty(upImage.Image) ) ;
"nothing to do";

Collect(LocPic; {
BVNR:cmbBVNR.Selected.bauvorh;
GEWERKNR:GEWERKNR.Text;
BEM: "Freie Bemerkungen";
FOTO: upImage.Image;
CHECKED: false;
DATUM: Now();
GESENDET: ""
});;
SaveData(LocPic; "LocPic"))

 

Jens Rogge
9 REPLIES 9
v-monli-msft
Community Support
Community Support

Hi @jeanshak,

 

What did you mean by "terminates"? Did the app auto-exited or did you get any error message? Also, could you please explain more details about the items that you are collecting in this formula?

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
jeanshak
Helper IV
Helper IV

It stops without any errormessage, I have to start it new.

Collection is with
Textfields
Datefields, one empty with "" filled,
One with nie()
And one Image Objekt

If you need more informationen please ask
Jens Rogge

Thanks jeanshak for reporting the issue.
Can you please share the sessionId for further investigation?

 

You can get the sessionId by - Clicking on the hanmburger menu -> Session details -> should show a popup with the session ID. Once you get the session ID, please try and reproduce the issue, with out closing /logging out of the app.

jeanshak
Helper IV
Helper IV

Hanmbuger menu, what is this?
Jens Rogge

Sorry, I meant the Hamburger menu. Here is a screenshot, the red box shows the hamburger menu in PowerApps.

 

powerapps-mobile.png

 

Sorry, I meant the Hamburger menu. Here is a screenshot, the red box shows the hamburger menu in PowerApps.

 

powerapps-mobile.png

 

Sitzungs-ID: ee7716cf-4dd2-13b3-1316-f1bb5274844a I can get ... 

BUT the App terminates without error and I dont logout.

Can I setup a logging for the app, that I can check after terminated

Jens Rogge

My suggestion is to get the sessionId first and then reproduce the issue. I might be able to look up the error, if it gets sent over the network before crashing.

 

Do you know how many and how big the data/images are that are being collected and saved ?

time after time 20-500 records ....

the data stored:

BVNR:cmbBVNR.Selected.bauvorh;  > 5 bytes
GEWERKNR:GEWERKNR.Text; > 5 bytes
BEM: "Freie Bemerkungen";
FOTO: upImage.Image; >> Pictures from the camera or the internal storage: 100k-5MB
CHECKED: false;   >> bool
DATUM: Now();     >> Date
GESENDET: ""  >> should be later DATE in the collection, when sendet
});;

Jens Rogge

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (65,800)