Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Development and suggestions about third part tool integration.
Cordova, Xamarin, Basic4Android topics are listed here.

TOPIC:

Cordova and forms editing 7 years 1 month ago #11978

  • Marat Faskhiev
  • Marat Faskhiev's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 39
  • Thank you received: 0
Hi,

Thank you. Now I'm able to open pdf file.

I noticed another issue. I'm receiving error if I'm clicking close button when form field editor is active:

Attachments:
The topic has been locked.

Cordova and forms editing 7 years 1 month ago #11979

  • Marat Faskhiev
  • Marat Faskhiev's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 39
  • Thank you received: 0
Also I found another issue at iOS version:
1. I edited form field at pdf file
2. Closed keyboard
3. Clicked closed
4. There was no popup as at Android version which suggests to save pdf file. And getFileState method returns "File has not been modified".

Should I do something additional to save pdf file?
The topic has been locked.

Cordova and forms editing 7 years 1 month ago #11980

  • emanuele
  • emanuele's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 580
  • Thank you received: 67
Hi,

we fixed the issue on pdf close while editing forms.
Also added the alert on close action if the pdf has been modified.
Now you can download the updated version

Thank you for your feedback
The following user(s) said Thank You: Marat Faskhiev
Last edit: by emanuele.
The topic has been locked.

Cordova and forms editing 7 years 1 month ago #11984

  • Marat Faskhiev
  • Marat Faskhiev's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 39
  • Thank you received: 0
Thank you. It works fine now.
The topic has been locked.

Cordova and forms editing 7 years 1 month ago #12038

  • Marat Faskhiev
  • Marat Faskhiev's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 39
  • Thank you received: 0
Hi,

I noticed an issue in this code:
    if(!b_outline)
    {
        [self.navigationController.navigationBar setTranslucent:defaultTranslucent];
        
        if (_delegate) {
            [_delegate willCloseReader];
        }
        
       //[m_ThumbView vClose] should before [m_view vClose]
        [m_Thumbview vClose];
        [m_Gridview vClose];
        [m_view vClose];
        m_slider = nil;
    }

And this:
- (void)viewDidDisappear:(BOOL)animated
{
    [super viewDidDisappear:animated];
    
    if(!b_outline)
    {
        if (_delegate) {
            [_delegate didCloseReader];
        }
    }
}

In the following case b_outline is true:
1. Open form
2. Click on free space of the form. Toolbar with Close button will be closed
3. Click again on free space of the form. Toolbar with Close button will be opened
4. At this moment b_outline is true
5. Click Close button
6. viewWillDisappear will be invoked. But because b_outline is true willCloseReader delegate will be not invoked
7. The same for viewDidDisappear. Because b_outline is true didCloseReader delegate will be not invoked

Could you check this issue? We are using didCloseReader to notifiy js side that pdf editor was closed.
The topic has been locked.

Cordova and forms editing 7 years 1 month ago #12059

  • emanuele
  • emanuele's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 580
  • Thank you received: 67
Hi,

we fixed this issue, now you can download the updated Cordova project.

thank you for your feedback
The following user(s) said Thank You: Marat Faskhiev
The topic has been locked.
Powered by Kunena Forum