MIT App Inventor for iOS version 2.74 in TestFlight

Hello everyone,

The MIT App Inventor for iOS companion app version 2.74 is now available for beta testing. If you'd like to help us beta test, please use Join the MIT App Inventor beta - TestFlight - Apple to join the beta testing program.

This version contains the following changes:

  • Fix an issue in casting associative lists to dictionaries
  • Implement a prototype of the MicroBlocks extension
  • Implement a prototype of the FilePicker component
  • Implement the ReceivingState helper block

Cheers,
Evan W. Patton, Ph.D.
Lead Software Engineer, MIT App Inventor

6 Likes

Build 2 has been released to fix some issues in the BluetoothLE and MicroBlocks implementation that could cause BLE events to be silently dropped.

1 Like

This is very exciting. Is there documentation on what events, methods, and properties of the FilePicker component are supported in this release? Also, do you have any suggested test files to get started with?

I am also very curious about the Microblocks extension and what it can do. Thank you so much and I look forward to hearing from you on this.

@ewpatton I have been actively using the iOS Companion App Version 2.74 Build 2 for months since it was released and it just expired on TestFlight this morning! Will there be a new beta coming out or should I move to the App Store version for the interim? Thank you and I look forward to hearing from you on this when you get a moment.

Yes, hopefully it should be coming today or tomorrow.

The latest build of version 2.74 should be available on TestFlight.

Thank you! It made it up to TestFlight a few minutes ago. All set for now!

The version on TestFlight includes the following changes from build 2:

  • Implement the replace all mappings block
  • Fix an issue where the TextChanged event of PasswordTextBox would not fire
  • Implement new properties for ListView
  • Add custom URL support for map tile servers (needs ai2-test)
  • Implement asynchronous location functions (needs ai2-test)
  • Implement AxesTextColor property for Chart (needs ai2-test)
  • Add support for loading button images from HTTP/HTTPS URLs
  • Fix an issue where opening multiple notifier dialogs at the same time could prevent them from closing

This issue is not solved because if you want to open for a second time the Notifier this action stop the App (not fail, it only stop running app).

Test the attached AIA and you can verify that if you do a second open Notifier then the App will stop. Only runs for the first open Notifier.
TEST_3.aia (11,3 KB)
ATTENTION: With Companion runs well. Only not runs well with IPA.

What type of issue is solved with this issue in the location functions?
Where can we test with iOS this solved issue?

Correct. This is an update for the companion only via TestFlight. I will need to do a separate update to the build servers as they are in different branches at the moment.

The issue is that blocks like LatitudeFromAddress and LongitudeFromAddress were designed to be synchronous based on the corresponding Android API. However, these operations on iOS are asynchronous so they need a callback. We implemented these four new blocks to support the asynchronous behavior on iOS and the blocks will work on both Android and iOS for developers creating cross platform apps using location data.

Geocode: Get the latitude and longitude for an address


ReverseGeocode: Get the address associated with a latitude and longitude, if any


The new blocks are in the latest nb201 release on ai2 now. Eventually I will also get them on the iOS build server when I have time.

A question to can have the same AIA for Android and iOS (both platforms with the CurrentAdress right updated): Would be possible to have these blocks together?:

blocks

Or will I problems whith them?

You won't be able to use sensorGPS.CurrentAddress since learning that will require an asynchronous operation. It will fail gracefully on iOS, but it's better to simply remove that block in the LocationChanged event.

1 Like

Where are you planning put the the latest nb201 release on the AI2-iOS to can build and test this asynchronous location feature for the Apple platform?

Yes. I need to test a few more things but hopefully it will be live later tonight.

1 Like

Tested this item with IPA build and it runs well for me. In mode asynchronous I can have in iOS the right address location of a geo GPS latitude and longitude.

Note:
With my tests the Geolocation coordinates are faster in iOS than in Android when I have poor GPS coverage.

Tested with a IPA build and it runs well. We can open the same TextNofiier several times as we need (if we have a mistake in the input text of the app user now we can open other time the same TestNotifier to input a new user text). Perfect¡ It runs very good.

To support the good work of MIT-AI2 on behalf of computer science enthusiasts.

3 Likes

Can i convert my Android app which is built with mit Androis into ios ?
And if answer is YES then when we will ?