RevMail - Status in 9,0

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

RevMail - Status in 9,0

Mike Bonner via use-livecode
This was working in Standalones for iOS and Android in all versions < 8.*

on sendFeedBack
revMail "[hidden email]",,"SivaSiva App Feedback",\
("Bug reports: " & cr & cr & "Describe what you did: " & cr &cr & "What happened: " & cr &cr & "What you expected to happen: " & cr &cr &cr & "Feature requests: Describe your idea in as much detail as possible." &cr &"Thank you.")
end sendFeedBack

But in apps made with SA - 9.0  it no longer works.

I check the inclusions, to see if it was externalized, but "nada"

Nothing changed in the dictionary…
How to get revMail back ?

BR






_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: RevMail - Status in 9,0

Mike Bonner via use-livecode
Yes, there was a change. I’ll have to wait until I can look at the code. It
is in the common library.
On Sat, Apr 7, 2018 at 1:21 PM Sannyasin Brahmanathaswami via use-livecode <
[hidden email]> wrote:

> This was working in Standalones for iOS and Android in all versions < 8.*
>
> on sendFeedBack
> revMail "[hidden email]",,"SivaSiva App Feedback",\
> ("Bug reports: " & cr & cr & "Describe what you did: " & cr &cr & "What
> happened: " & cr &cr & "What you expected to happen: " & cr &cr &cr &
> "Feature requests: Describe your idea in as much detail as possible." &cr
> &"Thank you.")
> end sendFeedBack
>
> But in apps made with SA - 9.0  it no longer works.
>
> I check the inclusions, to see if it was externalized, but "nada"
>
> Nothing changed in the dictionary…
> How to get revMail back ?
>
> BR
>
>
>
>
>
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: RevMail - Status in 9,0

Mike Bonner via use-livecode
In earlier versions the common library did not make it to mobile. revMail
was internally handled by mobileComposeMail (effectively anyway). Now, the
common library makes it to mobile.

The above code should still work, but should call the mail app to send the
mail instead of doing it inside the app. I would suggest using the
“mobileComposeMail” call instead. You just need to reorder the parameters
slightly. It works for both iOS and Android. If your app is also desktop
you would need to check first.

I’ll need to get my environment set up to actually test though (had to look
at the code on a PC for now).

Looking at the dictionary, we probably should put a check in the revMail
call to pass on mobile or change the dictionary entry to refer to the
mobile specific version.
On Sat, Apr 7, 2018 at 3:11 PM Brian Milby <[hidden email]> wrote:

> Yes, there was a change. I’ll have to wait until I can look at the code.
> It is in the common library.
> On Sat, Apr 7, 2018 at 1:21 PM Sannyasin Brahmanathaswami via use-livecode
> <[hidden email]> wrote:
>
>> This was working in Standalones for iOS and Android in all versions < 8.*
>>
>> on sendFeedBack
>> revMail "[hidden email]",,"SivaSiva App Feedback",\
>> ("Bug reports: " & cr & cr & "Describe what you did: " & cr &cr & "What
>> happened: " & cr &cr & "What you expected to happen: " & cr &cr &cr &
>> "Feature requests: Describe your idea in as much detail as possible." &cr
>> &"Thank you.")
>> end sendFeedBack
>>
>> But in apps made with SA - 9.0  it no longer works.
>>
>> I check the inclusions, to see if it was externalized, but "nada"
>>
>> Nothing changed in the dictionary…
>> How to get revMail back ?
>>
>> BR
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Widget User Defined Properties

Mike Bonner via use-livecode
I created a property called backgroundColor in a widget on the Colors pane figuring that it would be nice to have the LCS editor color it. Opened up the property inspector of the widget and it's there. The first time I change the property via script the property inspector the Colors pane gets completely whacked out. The other panes are OK. I changed the name of the property to backgroundColorUp and everything was OK. Is there a limitation that user defined widget properties can't be the name of any existing "built in" LCS recognized property?

Ralph DiMola
IT Director
Evergreen Information Services
[hidden email]


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Widget User Defined Properties

Mike Bonner via use-livecode
Take a look at the code for the switchbutton. It does use
backgroundcolor/hilitecolor/bordercolor but does not define a variable or
handler to get/set.
On Sat, Apr 7, 2018 at 5:58 PM Ralph DiMola via use-livecode <
[hidden email]> wrote:

> I created a property called backgroundColor in a widget on the Colors pane
> figuring that it would be nice to have the LCS editor color it. Opened up
> the property inspector of the widget and it's there. The first time I
> change the property via script the property inspector the Colors pane gets
> completely whacked out. The other panes are OK. I changed the name of the
> property to backgroundColorUp and everything was OK. Is there a limitation
> that user defined widget properties can't be the name of any existing
> "built in" LCS recognized property?
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> [hidden email]
>
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: RevMail - Status in 9,0

Mike Bonner via use-livecode
In reply to this post by Mike Bonner via use-livecode
I ran into this over the weekend but didn't check the list until this  
morning. After some testing I can confirm this bug appeared in  
9.0.0dp11. Filed bug report @  
https://quality.livecode.com/show_bug.cgi?id=21172

I'll probably look at switching my code over from revMail to  
mobileComposeMail as Brian Milby recommended since I'm only using this  
in an iOS/Android app.

--Andrew Bell


> From: Sannyasin Brahmanathaswami <[hidden email]>
> Subject: RevMail - Status in 9,0
> This was working in Standalones for iOS and Android in all versions < 8.*
>
> on sendFeedBack
> revMail "[hidden email]",,"SivaSiva App Feedback",\
> ("Bug reports: " & cr & cr & "Describe what you did: " & cr &cr &  
> "What happened: " & cr &cr & "What you expected to happen: " & cr  
> &cr &cr & "Feature requests: Describe your idea in as much detail as  
> possible." &cr &"Thank you.")
> end sendFeedBack
>
> But in apps made with SA - 9.0  it no longer works.
>
> I check the inclusions, to see if it was externalized, but "nada"
>
> Nothing changed in the dictionary?
> How to get revMail back ?
>
> BR
>


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: RevMail - Status in 9,0

Mike Bonner via use-livecode
ditto that… I only use it an mobile BR

Andrew:
    I'll probably look at switching my code over from revMail to  
    mobileComposeMail as Brian Milby recommended since I'm only using this  
    in an iOS/Android app.

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: RevMail - Status in 9,0

Mike Bonner via use-livecode
I did a check tonight and do see the same issue. I changed the common
library to call mobileComposeMail and it worked with subject and addressee
specified. I’ll do another test to be sure it works generally as before and
submit a PR. Not sure why the pass isn’t working though.
On Mon, Apr 9, 2018 at 9:26 PM Sannyasin Brahmanathaswami via use-livecode <
[hidden email]> wrote:

> ditto that… I only use it an mobile BR
>
> Andrew:
>     I'll probably look at switching my code over from revMail to
>     mobileComposeMail as Brian Milby recommended since I'm only using this
>     in an iOS/Android app.
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: RevMail - Status in 9,0

Mike Bonner via use-livecode
Just looking at the code in MCKeywordsExecCommandOrFunction, it seems that
there is no provision for passing to a 'global handler' (eg mobile-specific
handlers or cameraControl handlers).

On Tue, Apr 10, 2018 at 3:35 AM Brian Milby via use-livecode <
[hidden email]> wrote:

> I did a check tonight and do see the same issue. I changed the common
> library to call mobileComposeMail and it worked with subject and addressee
> specified. I’ll do another test to be sure it works generally as before and
> submit a PR. Not sure why the pass isn’t working though.
> On Mon, Apr 9, 2018 at 9:26 PM Sannyasin Brahmanathaswami via use-livecode
> <
> [hidden email]> wrote:
>
> > ditto that… I only use it an mobile BR
> >
> > Andrew:
> >     I'll probably look at switching my code over from revMail to
> >     mobileComposeMail as Brian Milby recommended since I'm only using
> this
> >     in an iOS/Android app.
> >
> > _______________________________________________
> > use-livecode mailing list
> > [hidden email]
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: RevMail - Status in 9,0

Mike Bonner via use-livecode
I was looking at the code last night for mobile mail. There are slight
differences in how the two work besides just allowing attachments. There is
some commented out code in the revMail version that still is in the
mobileComposeMail version. Can’t remember if that was the iOS specific one
or the general one right now though.

Quick fix is probably just to use mobileComposeMail in the common library
revMail handler. I did try that but didn’t verify sender only worked as
before.
On Tue, Apr 10, 2018 at 5:56 AM Ali Lloyd via use-livecode <
[hidden email]> wrote:

> Just looking at the code in MCKeywordsExecCommandOrFunction, it seems that
> there is no provision for passing to a 'global handler' (eg mobile-specific
> handlers or cameraControl handlers).
>
> On Tue, Apr 10, 2018 at 3:35 AM Brian Milby via use-livecode <
> [hidden email]> wrote:
>
> > I did a check tonight and do see the same issue. I changed the common
> > library to call mobileComposeMail and it worked with subject and
> addressee
> > specified. I’ll do another test to be sure it works generally as before
> and
> > submit a PR. Not sure why the pass isn’t working though.
> > On Mon, Apr 9, 2018 at 9:26 PM Sannyasin Brahmanathaswami via
> use-livecode
> > <
> > [hidden email]> wrote:
> >
> > > ditto that… I only use it an mobile BR
> > >
> > > Andrew:
> > >     I'll probably look at switching my code over from revMail to
> > >     mobileComposeMail as Brian Milby recommended since I'm only using
> > this
> > >     in an iOS/Android app.
> > >
> > > _______________________________________________
> > > use-livecode mailing list
> > > [hidden email]
> > > Please visit this url to subscribe, unsubscribe and manage your
> > > subscription preferences:
> > > http://lists.runrev.com/mailman/listinfo/use-livecode
> > _______________________________________________
> > use-livecode mailing list
> > [hidden email]
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode