B4J Question Notarized Mac package not able to access network

jahswant

Well-Known Member
Licensed User
Longtime User
I created a Notarized Mac package with the MacSigner Tool. It cannot network. When I run the app from run.command everything works perfectly. When I debug with bridge everything is ok. When I try to run from .app it doesn't. I tried to explore the package and run the executable in it it works ok. ✅ 👌 👍 🆗 . Is there a way to request permissions when app is packaged ? Becase when lanched for the first time on debug mode is seems to ask permission from terminal to access devices on network.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
I've just tried this code with a notarized app:
B4X:
Private Sub Button1_Click
    Dim j As HttpJob
    j.Initialize("", Me)
    j.Download("https://www.b4x.com/android/forum/threads/notarized-mac-package-not-able-to-access-network.165343/#post-1013765")
    Wait For (j) JobDone (j As HttpJob)
    If j.Success Then
        TextArea1.Text = j.GetString
    Else
        TextArea1.Text = j.ErrorMessage
    End If
    j.Release
End Sub

It worked. The page html (text) appears in the TextArea. Try it.
 

Attachments

  • Project.zip
    8.4 KB · Views: 94
Upvote 0
Top