I get this runtime error when I connect to my BLE device.  The error appears immediately.
If I disable the block for RegisterForStrings, I don't get the runtime error.  So that makes me think it's a string handling issue.  But I don't see what the problem could be.
edit: I've attached my.aia
AccelLogger.aia (330.0 KB)
             
            
              
              
              
            
            
                
                
              
           
          
            
            
              You need to upgrade your copy of the BLE extension to the latest version. There was a change in newer versions of Android that raised a subtle bug in the older versions, and the error message there indicates you're affected by it. You need version 20240822: BluetoothLE.aix.
             
            
              
              
              
            
            
                
                
              
           
          
            
            
              Unfortunately that is the version I had installed.
             
            
              
              
              
            
            
                
                
              
           
          
            
            
              In that case, please export a copy of your project and send it to me in a PM so I can analyze it.
             
            
              
              
              
            
            
                
                
              
           
          
            
            
              AccelLogger.aia (330.0 KB)
The PM seemed to report the .aia as a trojen horse for some reason.
             
            
              
              
              
            
            
                
                
              
           
          
            
            
              When I load this project the BLE version number is 20200616.
             
            
              
              
              
            
            
                
                
              
           
          
            
            
              Ah dang it.  You're right.  I had imported the new version into a different project and thought it replaced them all across the board.
Thanks for the follow-up.  Much appreciated.  I just updated it in this project and the runtime error went away.
Thank you much!